File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/_SwiftSyntaxMacros Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ class MacroApplication: SyntaxRewriter {
130
130
if case let . expr( exprItem) = item. item,
131
131
let exprExpansion = exprItem. as ( MacroExpansionExprSyntax . self) ,
132
132
let macro = macroSystem. macros [ exprExpansion. macro. text] ,
133
- let freestandingMacro = macro as? DeclarationMacro . Type
133
+ let freestandingMacro = macro as? DeclarationMacro . Type
134
134
{
135
135
do {
136
136
let expandedDecls = try freestandingMacro. expansion (
@@ -180,7 +180,7 @@ class MacroApplication: SyntaxRewriter {
180
180
// Expand declaration macros, which produce zero or more declarations.
181
181
if let declExpansion = item. decl. as ( MacroExpansionDeclSyntax . self) ,
182
182
let macro = macroSystem. macros [ declExpansion. macro. text] ,
183
- let freestandingMacro = macro as? DeclarationMacro . Type
183
+ let freestandingMacro = macro as? DeclarationMacro . Type
184
184
{
185
185
do {
186
186
let expandedDecls = try freestandingMacro. expansion (
You can’t perform that action at this time.
0 commit comments