robertkrimen / otto

A JavaScript interpreter in Go (golang)
http://godoc.org/github.com/robertkrimen/otto
MIT License
8.01k stars 584 forks source link

Fix the starting position of if statement #501

Closed tyamagu2 closed 1 year ago

tyamagu2 commented 1 year ago

Currently, IfStatement#Idx0 points to the right parenthesis after the test expression.

stevenh commented 1 year ago

Could you rebase to the latest master which fixes the linting issues flag @tyamagu2

tyamagu2 commented 1 year ago

@stevenh done