Skip to content

Commit a509050

Browse files
committed
chore: remove AST debug log
Change-Id: Ibe8029a849f648377cd078d0211cbada0166df38
1 parent 215dc72 commit a509050

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

expr.go

-6
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,7 @@ func (p *Expr) run(field string, tagExpr *TagExpr) interface{} {
182182
**/
183183

184184
func sortPriority(e ExprNode) {
185-
printExprNode(e)
186185
for subSortPriority(e.RightOperand(), false) {
187-
printExprNode(e)
188186
}
189187
}
190188

@@ -195,11 +193,7 @@ func subSortPriority(e ExprNode, isLeft bool) bool {
195193
leftChanged := subSortPriority(e.LeftOperand(), true)
196194
rightChanged := subSortPriority(e.RightOperand(), false)
197195
if getPriority(e) > getPriority(e.LeftOperand()) {
198-
printf("before:\n")
199-
printExprNode(e)
200196
leftOperandToParent(e, isLeft)
201-
printf("after:\n")
202-
printExprNode(e.Parent())
203197
return true
204198
}
205199
return leftChanged || rightChanged

0 commit comments

Comments
 (0)