Skip to content

Commit 9259d7d

Browse files
committed
Print syntax node children by default in Syntax.debugDescription
1 parent 855592a commit 9259d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftSyntax/Syntax.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public extension SyntaxProtocol {
490490
public extension SyntaxProtocol {
491491
/// A simple description of this node (ie. its type).
492492
var debugDescription: String {
493-
debugDescription()
493+
debugDescription(includeChildren: true)
494494
}
495495

496496
/// Same as `debugDescription` but includes all children.

0 commit comments

Comments
 (0)