Skip to content

Commit adaddf5

Browse files
ahoppenmeg-gupta
authored andcommitted
[SwiftSyntax] Adjustments because recursiveDescription is removed in favor of debugDescription
Companion of swiftlang/swift-syntax#1503
1 parent 0150cee commit adaddf5

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)