Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[parser] x2028 and x2029 should increment location lines #10435
While line terminators are not allowed in strings (unless continuation), and
The same goes for 2028 and 2029 in templates.
Unfortunately it's not "safe" to just copy paste these characters for a test so I'll try to make it very unambiguous;
The location should have its line incremented.
Babel Configuration (.babelrc, package.json, cli command)
Treat 2028 and 2029 the same as CR or LF when it comes to location tracking.
Hey @pvdz! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.