Skip to content

Commit 043ea71

Browse files
committed
refactor(ast) Removed redundant type ast.Const (no parsers which produce instance of this type)
1 parent 2e0435c commit 043ea71

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

internal/sql/ast/const.go

Lines changed: 0 additions & 17 deletions
This file was deleted.

internal/sql/astutils/walk.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -665,11 +665,6 @@ func Walk(f Visitor, node ast.Node) {
665665
Walk(f, n.Ctecolcollations)
666666
}
667667

668-
case *ast.Const:
669-
if n.Xpr != nil {
670-
Walk(f, n.Xpr)
671-
}
672-
673668
case *ast.Constraint:
674669
if n.RawExpr != nil {
675670
Walk(f, n.RawExpr)

0 commit comments

Comments
 (0)