@@ -119,16 +119,16 @@ extension C {}
119
119
120
120
extension ModuleSelectorTestingKit : : C : ModuleSelectorTestingKit : : Equatable {
121
121
// expected-error@-1 {{type 'Equatable' is not imported through module 'ModuleSelectorTestingKit'}}
122
- // expected-note@-2 {{did you mean module 'Swift'?}} {{39-62 =Swift}}
122
+ // expected-note@-2 {{did you mean module 'Swift'?}} {{40-64 =Swift}}
123
123
124
124
@_implements ( ModuleSelectorTestingKit: : Equatable, ModuleSelectorTestingKit: : == ( _: _: ) )
125
- // expected-error@-1 {{name cannot be qualified with module selector here}} {{52-77 =}}
125
+ // expected-error@-1 {{name cannot be qualified with module selector here}} {{53-79 =}}
126
126
// expected-error@-2 {{type 'Equatable' is not imported through module 'ModuleSelectorTestingKit'}}
127
- // expected-note@-3 {{did you mean module 'Swift'?}} {{16-39 =Swift}}
127
+ // expected-note@-3 {{did you mean module 'Swift'?}} {{16-40 =Swift}}
128
128
129
129
public static func equals( _: ModuleSelectorTestingKit : : C, _: ModuleSelectorTestingKit : : C) -> ModuleSelectorTestingKit : : Bool {
130
130
// expected-error@-1 {{type 'Bool' is not imported through module 'ModuleSelectorTestingKit'}}
131
- // expected-note@-2 {{did you mean module 'Swift'?}} {{94-117 =Swift}}
131
+ // expected-note@-2 {{did you mean module 'Swift'?}} {{96-120 =Swift}}
132
132
ModuleSelectorTestingKit: : fatalError( )
133
133
// expected-EVENTUALLY-error@-1 {{declaration 'fatalError' is not imported through module 'ModuleSelectorTestingKit'}}
134
134
// expected-EVENTUALLY-note@-2 {{did you mean module 'Swift'?}} {{4-8=Swift}}
@@ -143,22 +143,22 @@ extension ModuleSelectorTestingKit::C: ModuleSelectorTestingKit::Equatable {
143
143
144
144
let fn : ( ModuleSelectorTestingKit: : Int , ModuleSelectorTestingKit : : Int ) -> ModuleSelectorTestingKit : : Int =
145
145
// expected-error@-1 3{{type 'Int' is not imported through module 'ModuleSelectorTestingKit'}}
146
- // expected-note@-2 {{did you mean module 'Swift'?}} {{14-37 =Swift}}
147
- // expected-note@-3 {{did you mean module 'Swift'?}} {{44-67 =Swift}}
148
- // expected-note@-4 {{did you mean module 'Swift'?}} {{77-100 =Swift}}
146
+ // expected-note@-2 {{did you mean module 'Swift'?}} {{14-38 =Swift}}
147
+ // expected-note@-3 {{did you mean module 'Swift'?}} {{45-69 =Swift}}
148
+ // expected-note@-4 {{did you mean module 'Swift'?}} {{79-103 =Swift}}
149
149
( ModuleSelectorTestingKit: : + )
150
150
// FIXME: it'd be nice to handle module selectors on operators.
151
151
// expected-error@-2 {{expected expression}}
152
152
// expected-error@-3 {{expected expression after operator}}
153
153
154
154
let magnitude : Int . ModuleSelectorTestingKit : : Magnitude = ModuleSelectorTestingKit: : magnitude
155
155
// expected-error@-1 {{type 'Magnitude' is not imported through module 'ModuleSelectorTestingKit'}}
156
- // expected-note@-2 {{did you mean module 'Swift'?}} {{24-47 =Swift}}
156
+ // expected-note@-2 {{did you mean module 'Swift'?}} {{24-48 =Swift}}
157
157
// FIXME incorrect: expected-error@-3 {{variable used within its own initial value}}
158
158
159
159
if ModuleSelectorTestingKit : : Bool. ModuleSelectorTestingKit : : rando m( ) {
160
160
// expected-error@-1 {{declaration 'Bool' is not imported through module 'ModuleSelectorTestingKit'}}
161
- // expected-note@-2 {{did you mean module 'Swift'?}} {{8-31 =Swift}}
161
+ // expected-note@-2 {{did you mean module 'Swift'?}} {{8-32 =Swift}}
162
162
163
163
ModuleSelectorTestingKit: : negate( )
164
164
// expected-error@-1 {{declaration 'negate' is not imported through module 'ModuleSelectorTestingKit'}}
0 commit comments