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 @@ -89,6 +89,7 @@ extension B: @retroactive main::Equatable {
89
89
let fn : ( main: : Int , main : : Int ) -> main : : Int =
90
90
// FIXME improve: expected-error@-1 3{{cannot find type 'main::Int' in scope}}
91
91
( main: : + )
92
+ // FIXME: should fail????
92
93
93
94
let magnitude : Int . main : : Magnitude = main: : magnitude
94
95
// FIXME improve: expected-error@-1 {{'main::Magnitude' is not a member type of struct 'Swift.Int'}}
@@ -147,6 +148,7 @@ extension C: @retroactive ModuleSelectorTestingKit::Equatable {
147
148
let fn : ( ModuleSelectorTestingKit: : Int , ModuleSelectorTestingKit : : Int ) -> ModuleSelectorTestingKit : : Int =
148
149
// FIXME improve: expected-error@-1 3{{cannot find type 'ModuleSelectorTestingKit::Int' in scope}}
149
150
( ModuleSelectorTestingKit: : + )
151
+ // FIXME: should fail????
150
152
151
153
let magnitude : Int . ModuleSelectorTestingKit : : Magnitude = ModuleSelectorTestingKit: : magnitude
152
154
// 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