mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This fixes a regression from https://github.com/swiftlang/swift/pull/76585. Fixes rdar://problem/139232031.
9 lines
132 B
Swift
9 lines
132 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
protocol P1 {
|
|
associatedtype A
|
|
associatedtype B
|
|
}
|
|
|
|
protocol P2<A>: P1 where B: P2<A> {}
|