From ccccc33b014ffa8dcbc829920764af8bfdc572af Mon Sep 17 00:00:00 2001 From: Alex Hoppen Date: Wed, 12 Apr 2023 14:39:14 -0700 Subject: [PATCH] [SwiftSyntax] Adjustments because recursiveDescription is removed in favor of debugDescription Companion of https://github.com/apple/swift-syntax/pull/1503 --- lib/ASTGen/Sources/ASTGen/Macros.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ASTGen/Sources/ASTGen/Macros.swift b/lib/ASTGen/Sources/ASTGen/Macros.swift index 52b36eb9f3d6d..6d9619e4b0b7b 100644 --- a/lib/ASTGen/Sources/ASTGen/Macros.swift +++ b/lib/ASTGen/Sources/ASTGen/Macros.swift @@ -546,7 +546,7 @@ func expandFreestandingMacroInProcess( guard let parentExpansion = macroSyntax.asProtocol( FreestandingMacroExpansionSyntax.self ) else { - print("not on a macro expansion node: \(macroSyntax.recursiveDescription)") + print("not on a macro expansion node: \(macroSyntax.debugDescription)") return nil } @@ -671,7 +671,7 @@ private func findSyntaxNodeInSourceFile( currentSyntax = parentSyntax } - print("unable to find node: \(token.recursiveDescription)") + print("unable to find node: \(token.debugDescription)") return nil }