You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! Unfortunately, it is designed like that for historical reason (the AST is originated from SpiderMonkey AST format) and now the cost is too high to break the downstream tools relying on the behavior. See estree/estree#65 for some more details.
Steps to reproduce
Consider the parsing of the following simple code on esprima demo page with checked
Line and column-based
option.a
Expected output
Actual output
It unifies location between esprima library and common code editors (VS Code, Notepad++).
The text was updated successfully, but these errors were encountered: