Skip to content

Commit 6e5c924

Browse files
committed
[Macros] Remove a print statement from findSyntaxNodeInSourceFile.
This code path isn't on an error path, and the print statement causes unnecessary build output, which also causes test failures.
1 parent ab19ad2 commit 6e5c924

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/ASTGen/Sources/ASTGen/SourceFile.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@ public func findSyntaxNodeInSourceFile<Node: SyntaxProtocol>(
289289

290290
// If we didn't find anything, complain and fail.
291291
guard var resultSyntax else {
292-
print("unable to find node: \(token.debugDescription)")
293292
return nil
294293
}
295294

0 commit comments

Comments
 (0)