mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This enabled a gross idiom that should not have been allowed in the first place:
typealias G<T> = Any where T : P
protocol P {}
protocol Q : G<Self> {} // Q inherits from P now!
I'd like to ban this, assuming nothing is actually relying on this behavior.
232 B
232 B