Skip to content

Commit 4b126d4

Browse files
committed
patched binary walk
1 parent 613fe12 commit 4b126d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

expr/binary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (b *Binary) walk(fn func(ident node.Node, values *Values, operator, parentO
7272
}
7373
if binY, ok := b.Y.(*Binary); ok {
7474
if nested, ok := binY.Y.(*Binary); ok {
75-
if err = nested.walk(fn, b.Op); err != nil {
75+
if err = nested.walk(fn, binY.Op); err != nil {
7676
return err
7777
}
7878
}

0 commit comments

Comments
 (0)