mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This was never implemented properly, but it works sometimes. When the protocol is parameterized, it started crashing in a new way, because the interface type of an existential is now derived from the generalization signature, which will have nothing to do with the signature that IRGen is passing in here. Tweak the workaround to keep things limping along. Fixes rdar://problem/139745699
8 lines
95 B
Swift
8 lines
95 B
Swift
public protocol P<A> {
|
|
associatedtype A
|
|
}
|
|
|
|
extension P {
|
|
public var value: Bool { true }
|
|
}
|