Skip to content

Commit 767ec05

Browse files
authored
Merge pull request #65118 from ahoppen/ahoppen/better-debug-description
[SwiftSyntax] Adjustments because recursiveDescription is removed in favor of debugDescription
2 parents 56ac0f0 + ccccc33 commit 767ec05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ASTGen/Sources/ASTGen/Macros.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ func expandFreestandingMacroInProcess(
546546
guard let parentExpansion = macroSyntax.asProtocol(
547547
FreestandingMacroExpansionSyntax.self
548548
) else {
549-
print("not on a macro expansion node: \(macroSyntax.recursiveDescription)")
549+
print("not on a macro expansion node: \(macroSyntax.debugDescription)")
550550
return nil
551551
}
552552

@@ -671,7 +671,7 @@ private func findSyntaxNodeInSourceFile<Node: SyntaxProtocol>(
671671
currentSyntax = parentSyntax
672672
}
673673

674-
print("unable to find node: \(token.recursiveDescription)")
674+
print("unable to find node: \(token.debugDescription)")
675675
return nil
676676
}
677677

0 commit comments

Comments
 (0)