mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Don't leave behind conformances gotten through extensions when emitting associated type reflection metadata.
22 lines
309 B
Swift
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
|
|
}
|