We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11ed132 commit 8f5e941Copy full SHA for 8f5e941
lib/ASTGen/Sources/ASTGen/SourceFile.swift
@@ -122,8 +122,7 @@ public func parseSourceFile(
122
.preambleMacroExpansion,
123
.replacedFunctionBody,
124
.prettyPrinted,
125
- .defaultArgument,
126
- .attribute:
+ .defaultArgument:
127
parsed = Syntax(SourceFileSyntax.parse(from: &parser))
128
129
case .declarationMacroExpansion,
@@ -141,7 +140,8 @@ public func parseSourceFile(
141
140
case .accessorMacroExpansion:
142
// FIXME: Implement specialized parsing.
143
144
- case .memberAttributeMacroExpansion:
+ case .memberAttributeMacroExpansion,
+ .attribute:
145
146
147
case .bodyMacroExpansion:
0 commit comments