@@ -9,9 +9,9 @@ func foo(_: Int, _: Int) { }
9
9
func foo( _: Int , _: Int , _: Int ) { }
10
10
11
11
func testModuleScope( i: Int ) {
12
- // CHECK: (disabled disjunction term {{.*}} (Int) -> ()
13
- // CHECK-NEXT: (disabled disjunction term {{.*}} (Int, Int, Int) -> ()
14
- // CHECK: (introducing single enabled disjunction term {{.*}} (Int, Int) -> ()
12
+ // CHECK: | Disabled disjunction term {{.*}} (Int) -> ()
13
+ // CHECK-NEXT: | Disabled disjunction term {{.*}} (Int, Int, Int) -> ()
14
+ // CHECK: | Introducing single enabled disjunction term {{.*}} (Int, Int) -> ()
15
15
foo ( i, i)
16
16
}
17
17
@@ -26,20 +26,20 @@ struct X {
26
26
}
27
27
28
28
func testSubscript( x: X , i: Int ) {
29
- // CHECK: disabled disjunction term {{.*}}X.subscript(_:)
30
- // CHECK-NEXT: disabled disjunction term {{.*}}X.subscript(_:_:_:)
31
- // CHECK-NEXT: introducing single enabled disjunction term {{.*}} bound to decl overload_filtering.(file).X.subscript(_:_:)
29
+ // CHECK: | Disabled disjunction term {{.*}}X.subscript(_:)
30
+ // CHECK-NEXT: | Disabled disjunction term {{.*}}X.subscript(_:_:_:)
31
+ // CHECK-NEXT: | Introducing single enabled disjunction term {{.*}} bound to decl overload_filtering.(file).X.subscript(_:_:)
32
32
_ = x [ i, i]
33
33
}
34
34
35
35
func testUnresolvedMember( i: Int ) -> X {
36
- // CHECK: disabled disjunction term {{.*}} bound to decl overload_filtering.(file).X.init(_:)
37
- // CHECK-NEXT: disabled disjunction term {{.*}} bound to decl overload_filtering.(file).X.init(_:_:_:)
38
- // CHECK-NEXT: (removed constraint: disjunction
36
+ // CHECK: | Disabled disjunction term {{.*}} bound to decl overload_filtering.(file).X.init(_:)
37
+ // CHECK-NEXT: | Disabled disjunction term {{.*}} bound to decl overload_filtering.(file).X.init(_:_:_:)
38
+ // CHECK-NEXT: | `- Removed constraint: disjunction
39
39
// CHECK-NEXT: > [[A:\$T[0-9]+]] bound to decl overload_filtering
40
40
// CHECK-NEXT: > [disabled] [[A]] bound to decl overload_filtering
41
41
// CHECK-NEXT: > [disabled] [[A]] bound to decl overload_filtering
42
- // CHECK-NEXT: introducing single enabled disjunction term {{.*}} bound to decl overload_filtering.(file).X.init(_:_:)
42
+ // CHECK-NEXT: | Introducing single enabled disjunction term {{.*}} bound to decl overload_filtering.(file).X.init(_:_:)
43
43
return . init( i, i)
44
44
}
45
45
@@ -58,13 +58,13 @@ func test_member_filtering() {
58
58
}
59
59
60
60
func test( s: S ) {
61
- // CHECK: disabled disjunction term {{.*}} bound to decl overload_filtering.(file).test_member_filtering().S.bar(v:)
62
- // CHECK-NEXT: disabled disjunction term {{.*}} bound to decl overload_filtering.(file).test_member_filtering().S.bar(a:b:)
63
- // CHECK-NEXT: (removed constraint: disjunction
61
+ // CHECK: | Disabled disjunction term {{.*}} bound to decl overload_filtering.(file).test_member_filtering().S.bar(v:)
62
+ // CHECK-NEXT: | Disabled disjunction term {{.*}} bound to decl overload_filtering.(file).test_member_filtering().S.bar(a:b:)
63
+ // CHECK-NEXT: `- Removed constraint: disjunction
64
64
// CHECK-NEXT: > [[B:\$T[0-9]+]] bound to decl overload_filtering
65
65
// CHECK-NEXT: > [disabled] [[B]] bound to decl overload_filtering
66
66
// CHECK-NEXT: > [disabled] [[B]] bound to decl overload_filtering
67
- // CHECK-NEXT: introducing single enabled disjunction term {{.*}} bound to decl overload_filtering.(file).test_member_filtering().S.bar
67
+ // CHECK-NEXT: | Introducing single enabled disjunction term {{.*}} bound to decl overload_filtering.(file).test_member_filtering().S.bar
68
68
s. foo ( 42 ) . bar ( 42 )
69
69
}
70
70
}
0 commit comments