Files
swift-mirror/test/Reflection/Inputs/Protocols.swift
David Farler ff67f7f6af [GenReflection] Emit associated type reflection metadata via extensions
Don't leave behind conformances gotten through extensions when
emitting associated type reflection metadata.
2016-04-15 17:48:27 -07:00

22 lines
309 B
Swift

public protocol P1 {
associatedtype Inner
}
public protocol P2 {
associatedtype Outer : P1
}
public protocol P3 {
associatedtype First
associatedtype Second
}
public protocol P4 {
associatedtype Result
func getResult() -> Result
}
public protocol ClassBoundP: class {
associatedtype Inner
}