// RUN: %target-typecheck-verify-swift // RUN: %target-swift-frontend -typecheck %s -debug-generic-signatures 2>&1 | %FileCheck %s // REQUIRES: concurrency // rdar://91174106 - allow missing Sendable conformances when extending a // type generically. // FIXME: Should warn because of missing Sendable, but currently is silent // because we aren't checking conformance availability here yet. class C {} struct G1 {} // CHECK-LABEL: ExtensionDecl line={{.*}} base=G1 // CHECK-NEXT: Generic signature: extension G1 where T == C {} // CHECK-LABEL: ExtensionDecl line={{.*}} base=G1 // CHECK-NEXT: Generic signature: extension G1 where T : C {} protocol P { associatedtype A } struct G2 where T.A : Sendable {} // CHECK-LABEL: ExtensionDecl line={{.*}} base=G2 // CHECK-NEXT: Generic signature: extension G2 where T.A == C {} // CHECK-LABEL: ExtensionDecl line={{.*}} base=G2 // CHECK-NEXT: Generic signature: extension G2 where T.A : C {}