Skip to content

Commit ae35f15

Browse files
committed
Gardening: Migrate test suite to GH issues (file names): Generics
1 parent 0ab77fb commit ae35f15

32 files changed

+35
-35
lines changed
File renamed without changes.
File renamed without changes.

test/Generics/sr7353.swift renamed to test/Generics/issue-49901.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
// https://github.com/apple/swift/issues/49901
44

5-
// CHECK-LABEL: sr7353.(file).P@
5+
// CHECK-LABEL: .P@
66
// CHECK-LABEL: <Self where Self == Self.[P]A.[Q]B, Self.[P]A : Q>
77
protocol P {
88
associatedtype A: Q where A.B == Self
99
}
1010

11-
// CHECK-LABEL: sr7353.(file).Q@
11+
// CHECK-LABEL: .Q@
1212
// CHECK-LABEL: <Self where Self == Self.[Q]B.[P]A, Self.[Q]B : P, Self.[Q]B == Self.[Q]C>
1313
protocol Q {
1414
associatedtype B: P where B.A == Self

test/Generics/sr8945.swift renamed to test/Generics/issue-51450.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: %target-swift-frontend -emit-module %S/Inputs/sr8945-other.swift -emit-module-path %t/other.swiftmodule -module-name other
2+
// RUN: %target-swift-frontend -emit-module %S/Inputs/issue-51450-other.swift -emit-module-path %t/other.swiftmodule -module-name other
33
// RUN: %target-swift-frontend -emit-silgen %s -I%t -debug-generic-signatures 2>&1 | %FileCheck %s
44

55
// https://github.com/apple/swift/issues/51450
File renamed without changes.

test/Generics/sr9595.swift renamed to test/Generics/issue-52042.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ protocol Q {
88
associatedtype Assoc
99
}
1010

11-
// CHECK-LABEL: sr9595.(file).P1@
11+
// CHECK-LABEL: .P1@
1212
// CHECK-LABEL: Requirement signature: <Self where Self.[P1]T == Self.[P1]U.[P1]U, Self.[P1]U : P1, Self.[P1]U : Q, Self.[P1]U == Self.[P1]T.[P1]U, Self.[P1]U.[Q]Assoc : R>
1313
protocol P1 {
1414
associatedtype T where T == U.U
1515
associatedtype U : P1, Q where U.Assoc : R, U == T.U
1616
}
1717

18-
// CHECK-LABEL: sr9595.(file).P2@
18+
// CHECK-LABEL: .P2@
1919
// CHECK-LABEL: Requirement signature: <Self where Self.[P2]T == Self.[P2]U.[P2]U, Self.[P2]U : P2, Self.[P2]U : Q, Self.[P2]U == Self.[P2]T.[P2]U, Self.[P2]U.[Q]Assoc : R>
2020
protocol P2 {
2121
associatedtype T : P2 where T == U.U
2222
associatedtype U : P2, Q where U.Assoc : R, U == T.U
2323
}
2424

25-
// CHECK-LABEL: sr9595.(file).P3@
25+
// CHECK-LABEL: .P3@
2626
// CHECK-LABEL: Requirement signature: <Self where Self.[P3]T : Q, Self.[P3]T == Self.[P3]U.[P3]U, Self.[P3]U : P3, Self.[P3]U == Self.[P3]T.[P3]U, Self.[P3]T.[Q]Assoc : R>
2727
protocol P3 {
2828
associatedtype T : Q where T.Assoc : R, T == U.U
2929
associatedtype U : P3 where U == T.U
3030
}
3131

32-
// CHECK-LABEL: sr9595.(file).P4@
32+
// CHECK-LABEL: .P4@
3333
// CHECK-LABEL: Requirement signature: <Self where Self.[P4]T : Q, Self.[P4]T == Self.[P4]U.[P4]U, Self.[P4]U : P4, Self.[P4]U == Self.[P4]T.[P4]U, Self.[P4]T.[Q]Assoc : R>
3434
protocol P4 {
3535
associatedtype T : P4, Q where T.Assoc : R, T == U.U

test/Generics/sr10438.swift renamed to test/Generics/issue-52838.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22

33
// https://github.com/apple/swift/issues/52838
44

5-
// CHECK: sr10438.(file).AuthenticationFlowStateMachine@
5+
// CHECK-LABEL: .AuthenticationFlowStateMachine@
66
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[AuthenticationFlowStateMachine]FlowError.[AuthenticationFlowStateMachineFlowError]StateMachine, Self.[AuthenticationFlowStateMachine]FlowError : AuthenticationFlowStateMachineFlowError, Self.[AuthenticationFlowStateMachine]NonFinalState : AuthenticationFlowStateMachineNonFinalState, Self.[AuthenticationFlowStateMachine]StartState : AuthenticationFlowStateMachineStartState, Self.[AuthenticationFlowStateMachine]FlowError.[AuthenticationFlowStateMachineFlowError]StateMachine == Self.[AuthenticationFlowStateMachine]NonFinalState.[AuthenticationFlowStateMachineNonFinalState]StateMachine, Self.[AuthenticationFlowStateMachine]NonFinalState.[AuthenticationFlowStateMachineNonFinalState]StateMachine == Self.[AuthenticationFlowStateMachine]StartState.[AuthenticationFlowStateMachineStartState]StateMachine>
77
protocol AuthenticationFlowStateMachine {
88
associatedtype StartState: AuthenticationFlowStateMachineStartState where StartState.StateMachine == Self
99
associatedtype NonFinalState: AuthenticationFlowStateMachineNonFinalState where NonFinalState.StateMachine == Self
1010
associatedtype FlowError: AuthenticationFlowStateMachineFlowError where FlowError.StateMachine == Self
1111
}
1212

13-
// CHECK: sr10438.(file).AuthenticationFlowStateMachineFlowError@
13+
// CHECK-LABEL: .AuthenticationFlowStateMachineFlowError@
1414
// CHECK-NEXT: Requirement signature: <Self where Self : Error, Self == Self.[AuthenticationFlowStateMachineFlowError]StateMachine.[AuthenticationFlowStateMachine]FlowError, Self.[AuthenticationFlowStateMachineFlowError]StateMachine : AuthenticationFlowStateMachine>
1515
protocol AuthenticationFlowStateMachineFlowError: Error {
1616
associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.FlowError == Self
1717
}
1818

19-
// CHECK: sr10438.(file).AuthenticationFlowStateMachineStartState@
19+
// CHECK-LABEL: .AuthenticationFlowStateMachineStartState@
2020
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[AuthenticationFlowStateMachineStartState]StateMachine.[AuthenticationFlowStateMachine]StartState, Self.[AuthenticationFlowStateMachineStartState]StateMachine : AuthenticationFlowStateMachine>
2121
protocol AuthenticationFlowStateMachineStartState {
2222
associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.StartState == Self
2323
var nonFinalState: StateMachine.NonFinalState { get }
2424
}
2525

26-
// CHECK: sr10438.(file).AuthenticationFlowStateMachineNonFinalState@
26+
// CHECK-LABEL: .AuthenticationFlowStateMachineNonFinalState@
2727
// CHECK-NEXT: Requirement signature: <Self where Self == Self.[AuthenticationFlowStateMachineNonFinalState]StateMachine.[AuthenticationFlowStateMachine]NonFinalState, Self.[AuthenticationFlowStateMachineNonFinalState]StateMachine : AuthenticationFlowStateMachine>
2828
protocol AuthenticationFlowStateMachineNonFinalState {
2929
associatedtype StateMachine: AuthenticationFlowStateMachine where StateMachine.NonFinalState == Self

test/Generics/sr10532.swift renamed to test/Generics/issue-52932.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
// https://github.com/apple/swift/issues/52932
44

5-
// CHECK: sr10532.(file).ScalarProtocol@
5+
// CHECK-LABEL: .ScalarProtocol@
66
// CHECK-NEXT: Requirement signature: <Self where Self : ScalarMultiplicative, Self == Self.[ScalarMultiplicative]Scalar>
77
public protocol ScalarProtocol: ScalarMultiplicative where Self == Scalar { }
88

9-
// CHECK: sr10532.(file).ScalarMultiplicative@
9+
// CHECK-LABEL: .ScalarMultiplicative@
1010
// CHECK-NEXT: Requirement signature: <Self where Self.[ScalarMultiplicative]Scalar : ScalarProtocol>
1111
public protocol ScalarMultiplicative {
1212
associatedtype Scalar : ScalarProtocol
1313
}
1414

15-
// CHECK: sr10532.(file).MapReduceArithmetic@
15+
// CHECK-LABEL: .MapReduceArithmetic@
1616
// CHECK-NEXT: Requirement signature: <Self where Self : Collection, Self : ScalarMultiplicative, Self.[Sequence]Element : ScalarMultiplicative, Self.[ScalarMultiplicative]Scalar == Self.[Sequence]Element.[ScalarMultiplicative]Scalar>
1717
public protocol MapReduceArithmetic : ScalarMultiplicative, Collection where Element : ScalarMultiplicative, Scalar == Element.Scalar { }
1818

19-
// CHECK: sr10532.(file).Tensor@
19+
// CHECK-LABEL: .Tensor@
2020
// CHECK-NEXT: Requirement signature: <Self where Self : MapReduceArithmetic, Self.[Sequence]Element : BinaryFloatingPoint, Self.[Sequence]Element == Self.[ScalarMultiplicative]Scalar>
2121
public protocol Tensor : MapReduceArithmetic where Scalar : BinaryFloatingPoint, Element == Scalar {
2222
var magnitude: Scalar { get set }

test/Generics/sr10752.swift renamed to test/Generics/issue-53142.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
// https://github.com/apple/swift/issues/53142
44

5-
// CHECK: sr10752.(file).P@
5+
// CHECK-LABEL: .P@
66
// CHECK-NEXT: Requirement signature: <Self where Self.[P]A : P, Self.[P]A == Self.[P]A.[P]A>
77
protocol P {
88
associatedtype A : P where A.A == A
99
}
1010

11-
// CHECK: sr10752.(file).Q@
11+
// CHECK-LABEL: .Q@
1212
// CHECK-NEXT: Requirement signature: <Self where Self.[Q]A == Self.[Q]C.[P]A, Self.[Q]C : P>
1313
protocol Q {
1414
associatedtype A : P // expected-warning {{redundant conformance constraint 'Self.A' : 'P'}}

0 commit comments

Comments
 (0)