New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

range is incorrect #1963

Open
ariovistus opened this Issue Dec 13, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@ariovistus
Copy link

ariovistus commented Dec 13, 2018

I have some code here: https://github.com/ariovistus/esprima-bug

test.js uses esprima 4.0.1 to parse tok.js and outputs

define "urijs" 2250,2265

which is the position of the last part of tok.js, define("urijs"), as reported by esprima. but it is wrong, the actual position should be 2272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment