File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ extension B: @retroactive main::Equatable {
92
92
let fn : ( main: : Int , main : : Int ) -> main : : Int =
93
93
// FIXME improve: expected-error@-1 3{{cannot find type 'main::Int' in scope}}
94
94
( main: : + )
95
+ // FIXME: should fail????
95
96
96
97
let magnitude : Int . main : : Magnitude = main: : magnitude
97
98
// FIXME improve: expected-error@-1 {{'main::Magnitude' is not a member type of struct 'Swift.Int'}}
@@ -151,6 +152,7 @@ extension C: @retroactive ModuleSelectorTestingKit::Equatable {
151
152
let fn : ( ModuleSelectorTestingKit: : Int , ModuleSelectorTestingKit : : Int ) -> ModuleSelectorTestingKit : : Int =
152
153
// FIXME improve: expected-error@-1 3{{cannot find type 'ModuleSelectorTestingKit::Int' in scope}}
153
154
( ModuleSelectorTestingKit: : + )
155
+ // FIXME: should fail????
154
156
155
157
let magnitude : Int . ModuleSelectorTestingKit : : Magnitude = ModuleSelectorTestingKit: : magnitude
156
158
// FIXME improve: expected-error@-1 {{'ModuleSelectorTestingKit::Magnitude' is not a member type of struct 'Swift.Int'}}
You can’t perform that action at this time.
0 commit comments