Skip to content

Commit ce003dc

Browse files
committed
Fix formatting
(cherry picked from commit d11f4c7)
1 parent f0197a5 commit ce003dc

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Sources/SwiftSyntaxMacros/MacroSystem.swift

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,13 @@ extension MacroApplication {
437437
let extendedTypeSyntax = TypeSyntax("\(extendedType.trimmed)")
438438
for (attribute, extensionMacro) in extensionMacroAttrs {
439439
do {
440-
let newExtensions = try extensionMacro.expansion(of: attribute,
441-
attachedTo: decl,
442-
providingExtensionsOf: extendedTypeSyntax,
443-
in: context)
440+
let newExtensions = try extensionMacro.expansion(
441+
of: attribute,
442+
attachedTo: decl,
443+
providingExtensionsOf: extendedTypeSyntax,
444+
in: context
445+
)
446+
444447
extensions.append(contentsOf: newExtensions.map(DeclSyntax.init))
445448
} catch {
446449
context.addDiagnostics(from: error, node: attribute)

0 commit comments

Comments
 (0)