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
public macro Foo(_:anyP)= #externalMacro(module:"FooMacros", type:"FooMacro")
5
+
// expected-warning@-1 {{external macro implementation type 'FooMacros.FooMacro' could not be found for macro 'Foo'; plugin for module 'FooMacros' not found}}
6
+
// expected-note@-2 2 {{'Foo' declared here}}
7
+
8
+
publicprotocolP{}
9
+
10
+
@Foo(S.s)
11
+
structA{
12
+
// expected-error@-1 2 {{external macro implementation type 'FooMacros.FooMacro' could not be found for macro 'Foo'; plugin for module 'FooMacros' not found}}
13
+
func a(){}
14
+
}
15
+
16
+
extensionA{
17
+
structNested{}
18
+
}
19
+
20
+
// Binding this extension must not trigger macro expansion, because that
21
+
// performs a qualified lookup of S.s, which fails because the extension
0 commit comments