@@ -36,7 +36,7 @@ extension ModuleSelectorTestingKit::A: @retroactive Swift::Equatable {
36
36
mutating func myNegate( ) {
37
37
let fn : ( Swift: : Int , Swift : : Int ) -> Swift : : Int =
38
38
( + )
39
- // FIXME : it'd be nice to handle module selectors on operators.
39
+ // TODO : it'd be nice to handle module selectors on operators.
40
40
41
41
let magnitude : Int . Swift : : Magnitude = main: : magnitude
42
42
// expected-error@-1 {{cannot convert value of type 'Never' to specified type 'Int.Magnitude' (aka 'UInt')}}
@@ -91,7 +91,7 @@ extension B: main::Equatable {
91
91
// expected-note@-3 {{did you mean module 'Swift'?}} {{25-29=Swift}}
92
92
// expected-note@-4 {{did you mean module 'Swift'?}} {{39-43=Swift}}
93
93
( main: : + )
94
- // FIXME : it'd be nice to handle module selectors on operators.
94
+ // TODO : it'd be nice to handle module selectors on operators.
95
95
// expected-error@-2 {{expected expression}}
96
96
// expected-error@-3 {{expected expression after operator}}
97
97
@@ -154,7 +154,7 @@ extension ModuleSelectorTestingKit::C: ModuleSelectorTestingKit::Equatable {
154
154
// expected-note@-3 {{did you mean module 'Swift'?}} {{45-69=Swift}}
155
155
// expected-note@-4 {{did you mean module 'Swift'?}} {{79-103=Swift}}
156
156
( ModuleSelectorTestingKit: : + )
157
- // FIXME : it'd be nice to handle module selectors on operators.
157
+ // TODO : it'd be nice to handle module selectors on operators.
158
158
// expected-error@-2 {{expected expression}}
159
159
// expected-error@-3 {{expected expression after operator}}
160
160
@@ -211,11 +211,11 @@ extension D: @retroactive Swift::Equatable {
211
211
// FIXME improve: expected-note@-1 {{did you mean 'myNegate'?}}
212
212
213
213
let fn : ( Swift: : Int , Swift : : Int ) -> Swift : : Int =
214
- // FIXME:
215
214
( Swift: : + )
216
- // expected-error@-1 {{cannot convert value of type '()' to specified type '(Int, Int) -> Int'}}
217
- // expected-error@-2 {{expected expression}}
218
- // expected-error@-3 {{expected expression after operator}}
215
+ // TODO: it'd be nice to handle module selectors on operators.
216
+ // expected-error@-2 {{cannot convert value of type '()' to specified type '(Int, Int) -> Int'}}
217
+ // expected-error@-3 {{expected expression}}
218
+ // expected-error@-4 {{expected expression after operator}}
219
219
let magnitude : Int . Swift : : Magnitude = Swift: : magnitude
220
220
// expected-error@-1 {{declaration 'magnitude' is not imported through module 'Swift'}}
221
221
// FIXME should be un-addressable via main: expected-note@-2 {{did you mean module 'main'?}}
@@ -254,7 +254,7 @@ struct AvailableUser {
254
254
}
255
255
256
256
func builderUser2( @main : : MyBuilder fn: ( ) -> Void) { }
257
- // FIXME improve : expected-error@-1 {{unknown attribute 'MyBuilder'}}
257
+ // FIXME should succeed : expected-error@-1 {{unknown attribute 'MyBuilder'}}
258
258
259
259
func builderUser3 ( @ModuleSelectorTestingKit : : MyBuilder fn: ( ) - > Void) { }
260
260
// no-error
@@ -464,6 +464,7 @@ func badModuleNames() {
464
464
465
465
_ = " foo " . NonexistentModule: : count
466
466
// FIXME improve: expected-error@-1 {{value of type 'String' has no member 'NonexistentModule::count'}}
467
+ // FIXME: expected-EVENTUALLY-note@-2 {{did you mean module 'Swift'?}} {{13-30=Swift}}
467
468
468
469
let x : NonexistentModule : : MyType = NonexistentModule: : MyType( )
469
470
// expected-error@-1 {{cannot find type 'NonexistentModule::MyType' in scope}}
0 commit comments