@@ -37,7 +37,7 @@ extension ModuleSelectorTestingKit::A: Swift::Equatable {
37
37
mutating func myNegate( ) {
38
38
let fn : ( Swift: : Int , Swift : : Int ) -> Swift : : Int =
39
39
( + )
40
- // FIXME : it'd be nice to handle module selectors on operators.
40
+ // TODO : it'd be nice to handle module selectors on operators.
41
41
42
42
let magnitude : Int . Swift : : Magnitude = main: : magnitude
43
43
// expected-error@-1 {{cannot convert value of type 'Never' to specified type 'Int.Magnitude' (aka 'UInt')}}
@@ -92,7 +92,7 @@ extension B: main::Equatable {
92
92
// expected-note@-3 {{did you mean module 'Swift'?}} {{25-29=Swift}}
93
93
// expected-note@-4 {{did you mean module 'Swift'?}} {{39-43=Swift}}
94
94
( main: : + )
95
- // FIXME : it'd be nice to handle module selectors on operators.
95
+ // TODO : it'd be nice to handle module selectors on operators.
96
96
// expected-error@-2 {{expected expression}}
97
97
// expected-error@-3 {{expected expression after operator}}
98
98
@@ -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: 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'?}}
@@ -253,7 +253,7 @@ struct AvailableUser {
253
253
}
254
254
255
255
func builderUser2( @main : : MyBuilder fn: ( ) -> Void) { }
256
- // FIXME improve : expected-error@-1 {{unknown attribute 'MyBuilder'}}
256
+ // FIXME should succeed : expected-error@-1 {{unknown attribute 'MyBuilder'}}
257
257
258
258
func builderUser3 ( @ModuleSelectorTestingKit : : MyBuilder fn: ( ) - > Void) { }
259
259
// no-error
@@ -463,6 +463,7 @@ func badModuleNames() {
463
463
464
464
_ = " foo " . NonexistentModule: : count
465
465
// FIXME improve: expected-error@-1 {{value of type 'String' has no member 'NonexistentModule::count'}}
466
+ // FIXME: expected-EVENTUALLY-note@-2 {{did you mean module 'Swift'?}} {{13-30=Swift}}
466
467
467
468
let x : NonexistentModule : : MyType = NonexistentModule: : MyType( )
468
469
// expected-error@-1 {{cannot find type 'NonexistentModule::MyType' in scope}}
0 commit comments