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: starting positions of for and for-in statements #503

Closed tyamagu2 closed 1 year ago

tyamagu2 commented 1 year ago

Currently, the parser does not set their starting positions.

stevenh commented 1 year ago

Thanks @tyamagu2 👍