// RUN: %target-typecheck-verify-swift -debug-generic-signatures 2>&1 | %FileCheck %s // https://github.com/apple/swift/issues/52838 // CHECK-LABEL: .AuthenticationFlowStateMachine@ // CHECK-NEXT: Requirement signature: protocol AuthenticationFlowStateMachine { associatedtype StartState: AuthenticationFlowStateMachineStartState where StartState.StateMachine == Self associatedtype NonFinalState: AuthenticationFlowStateMachineNonFinalState where NonFinalState.StateMachine == Self associatedtype FlowError: AuthenticationFlowStateMachineFlowError where FlowError.StateMachine == Self } // CHECK-LABEL: .AuthenticationFlowStateMachineFlowError@ // CHECK-NEXT: Requirement signature: protocol AuthenticationFlowStateMachineFlowError: Error { associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.FlowError == Self } // CHECK-LABEL: .AuthenticationFlowStateMachineStartState@ // CHECK-NEXT: Requirement signature: protocol AuthenticationFlowStateMachineStartState { associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.StartState == Self var nonFinalState: StateMachine.NonFinalState { get } } // CHECK-LABEL: .AuthenticationFlowStateMachineNonFinalState@ // CHECK-NEXT: Requirement signature: protocol AuthenticationFlowStateMachineNonFinalState { associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.NonFinalState == Self }