We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 215dc72 commit a509050Copy full SHA for a509050
expr.go
@@ -182,9 +182,7 @@ func (p *Expr) run(field string, tagExpr *TagExpr) interface{} {
182
**/
183
184
func sortPriority(e ExprNode) {
185
- printExprNode(e)
186
for subSortPriority(e.RightOperand(), false) {
187
188
}
189
190
@@ -195,11 +193,7 @@ func subSortPriority(e ExprNode, isLeft bool) bool {
195
193
leftChanged := subSortPriority(e.LeftOperand(), true)
196
194
rightChanged := subSortPriority(e.RightOperand(), false)
197
if getPriority(e) > getPriority(e.LeftOperand()) {
198
- printf("before:\n")
199
200
leftOperandToParent(e, isLeft)
201
- printf("after:\n")
202
- printExprNode(e.Parent())
203
return true
204
205
return leftChanged || rightChanged
0 commit comments