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
// expected-error@-1 {{name of function declaration cannot be qualified with module selector}}
338
338
main::p1: main::A,
339
339
// expected-error@-1 {{argument label cannot be qualified with module selector}}
340
-
// FIXME access path: expected-error@-2 {{type 'A' is not imported through module 'main'}}
341
-
// FIXME access path: expected-note@-3 {{did you mean module 'ModuleSelectorTestingKit'?}} {{13-17=ModuleSelectorTestingKit}}
342
-
main::label p2: main::A,
340
+
// expected-error@-2 {{type 'A' is not imported through module 'main'}}
341
+
// expected-note@-3 {{did you mean module 'ModuleSelectorTestingKit'?}} {{13-17=ModuleSelectorTestingKit}}
342
+
main::label p2: main::inout A,
343
343
// expected-error@-1 {{argument label cannot be qualified with module selector}}
344
-
// FIXME access path: expected-error@-2 {{type 'A' is not imported through module 'main'}}
345
-
// FIXME access path: expected-note@-3 {{did you mean module 'ModuleSelectorTestingKit'?}} {{19-23=ModuleSelectorTestingKit}}
346
-
label main::p3: main::A
344
+
// FIXME: expected-error@-2 {{expected identifier in dotted type}} should be something like {{type 'inout' is not imported through module 'main'}}
345
+
label main::p3: @main::escaping ()-> A
347
346
// expected-error@-1 {{name of parameter declaration cannot be qualified with module selector}}
348
-
// FIXME access path: expected-error@-2 {{type 'A' is not imported through module 'main'}}
349
-
// FIXME access path: expected-note@-3 {{did you mean module 'ModuleSelectorTestingKit'?}} {{19-23=ModuleSelectorTestingKit}}
347
+
// FIXME: expected-error@-2 {{attribute can only be applied to declarations, not types}} should be something like {{type 'escaping' is not imported through module 'main'}}
348
+
// FIXME: expected-error@-3 {{expected parameter type following ':'}}
350
349
){
351
350
let main::decl1a ="a"
352
351
// expected-error@-1 {{name of constant declaration cannot be qualified with module selector}}
0 commit comments