You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FIXME improve: expected-error@-1 {{cannot find type 'main::B' in scope}}
69
70
70
71
extensionB:@retroactivemain::Equatable{
72
+
// FIXME improve: expected-error@-1 {{cannot find type 'main::Equatable' in scope}}
71
73
72
74
@_implements(main::Equatable, main::==(_:_:))
73
75
// expected-error@-1 {{name of sibling declaration cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{33-39=}}
76
+
// FIXME improve: expected-error@-2 {{cannot find type 'main::Equatable' in scope}}
// expected-error@-1 {{name of sibling declaration cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{53-79=}}
133
+
// FIXME improve: expected-error@-2 {{cannot find type 'ModuleSelectorTestingKit::Equatable' in scope}}
// FIXME improve: expected-error@-1 {{cannot find type 'Swift::D' in scope}}
162
181
163
182
extensionD:@retroactiveSwift::Equatable{
183
+
// Caused by Swift::D failing to typecheck in `equals(_:_:)`: expected-error@-1 *{{extension outside of file declaring struct 'D' prevents automatic synthesis of '==' for protocol 'Equatable'}} expected-note@-1 *{{add stubs for conformance}}
164
184
165
185
@_implements(Swift::Equatable, Swift::==(_:_:))
166
186
// expected-error@-1 {{name of sibling declaration cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{34-41=}}
// expected-error@-1 {{name in function declaration cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{6-12=}}
261
291
main::p1: main::A,
262
292
// expected-error@-1 {{argument label cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{3-9=}}
293
+
// FIXME: expected-error@-2 {{cannot find type 'main::A' in scope}}
263
294
main::label p2: main::inout A,
264
295
// expected-error@-1 {{argument label cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{3-9=}}
265
296
// FIXME: expected-error@-2 {{expected identifier in dotted type}} should be something like {{type 'inout' is not imported through module 'main'}}
@@ -346,6 +377,7 @@ class main::decl4<main::T> {}
346
377
347
378
typealias main::decl5= main::Bool
348
379
// expected-error@-1 {{name in typealias declaration cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{11-17=}}
380
+
// FIXME improve: expected-error@-2 {{cannot find type 'main::Bool' in scope}}
349
381
350
382
protocol main::decl6{
351
383
// expected-error@-1 {{name in protocol declaration cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{10-16=}}
@@ -386,6 +418,7 @@ struct Parent {
386
418
387
419
typealias main::decl5= main::Bool
388
420
// expected-error@-1 {{name in typealias declaration cannot be qualified with a module selector}} expected-note@-1 {{remove module selector from this name}} {{13-19=}}
421
+
// FIXME improve: expected-error@-2 {{cannot find type 'main::Bool' in scope}}
389
422
}
390
423
391
424
@_swift_native_objc_runtime_base(main::BaseClass)
@@ -404,6 +437,7 @@ precedencegroup main::PG1 {
404
437
405
438
func badModuleNames(){
406
439
NonexistentModule::print()
440
+
// expected-error@-1 {{cannot find 'NonexistentModule::print' in scope}}
0 commit comments