// RUN: %target-typecheck-verify-swift -debug-generic-signatures 2>&1 | %FileCheck %s // https://github.com/apple/swift/issues/54431 // CHECK-LABEL: .A@ // CHECK-NEXT: Requirement signature: protocol A { associatedtype X: B where X.Y == Self } // CHECK-LABEL: .B@ // CHECK-NEXT: Requirement signature: protocol B { associatedtype Y: A where Y.X == Self } // CHECK-LABEL: .AA@ // CHECK-NEXT: Requirement signature: protocol AA: A where X: BB { } // CHECK-LABEL: .BB@ // CHECK-NEXT: Requirement signature: protocol BB: B where Y: AA { associatedtype Z: C where Z.T == Self } // CHECK-LABEL: .C@ // CHECK-NEXT: Requirement signature: protocol C { associatedtype T: BB where T.Z == Self }