Revision 42e827e6e7247224c068a9dce8f6eabd2ab892ba authored by Devin Coughlin on 21 January 2016, 00:12:56 UTC, committed by Devin Coughlin on 21 January 2016, 01:22:15 UTC
1 parent ac1f5a6
Raw File
witness_table_multifile_2.swift
protocol P {
  var x: String? { get set }
  func foo()
}

struct X : P {
  var x: String
  func foo() { print("X(x: \(x))") }
}

func go() -> P { return X("hello") }
back to top