diff --git a/pkg/ql/ast_nodes.go b/pkg/ql/ast_nodes.go index 9e6ab7ebc..af67c19a1 100644 --- a/pkg/ql/ast_nodes.go +++ b/pkg/ql/ast_nodes.go @@ -35,6 +35,10 @@ type ( ) func (n *ASTNode) String() string { + if n == nil { + return "" + } + // Leaf edge-cases switch { case n.Symbol != "":