Skip to content

Commit 4ea85ba

Browse files
authored
Merge pull request #1387 from hborla/macro-covered-names
[Macros] Specify introduced names for example member macro.
2 parents d81f0bf + 06d9d5a commit 4ea85ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lit_tests/compiler_plugin_basic.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@freestanding(expression)
1515
macro echo<T>(_: T) -> T = #externalMacro(module: "ExamplePlugin", type: "EchoExpressionMacro")
1616

17-
@attached(member)
17+
@attached(member, names: named(__metadata__))
1818
macro Metadata() = #externalMacro(module: "ExamplePlugin", type: "MetadataMacro")
1919

2020
@Metadata

0 commit comments

Comments
 (0)