Skip to content

Commit cc41ac4

Browse files
committed
Simplify MacroDecl syntax to match the accepted proposals
1 parent 4e1a818 commit cc41ac4

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

CodeGeneration/Sources/SyntaxSupport/DeclNodes.swift

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,18 +1026,7 @@ public let DECL_NODES: [Node] = [
10261026
),
10271027
Child(
10281028
name: "Signature",
1029-
kind: .nodeChoices(choices: [
1030-
Child(
1031-
name: "FunctionLike",
1032-
kind: .node(kind: "FunctionSignature"),
1033-
nameForDiagnostics: "macro signature"
1034-
),
1035-
Child(
1036-
name: "ValueLike",
1037-
kind: .node(kind: "TypeAnnotation"),
1038-
nameForDiagnostics: "macro signature"
1039-
),
1040-
]),
1029+
kind: .node(kind: "FunctionSignature"),
10411030
nameForDiagnostics: "macro signature"
10421031
),
10431032
Child(

0 commit comments

Comments
 (0)