-
Notifications
You must be signed in to change notification settings - Fork 14
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
panic: 'byte index is not a char boundary' #69
Comments
mischnic
changed the title
panic: 'byte index 7 is not a char boundary'
panic: 'byte index is not a char boundary'
Jun 23, 2021
Any updates on this? |
Oh didn't see this issue, will look into this |
Thank you for the fix! I still have the issue in 2.0.0-nightly.776+ba7d2263, do I need to update source-map separately somehow? |
We'll need to release a new version of source-map and bump the version in Parcel itself. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Non-ASCII characters aren't handled correctly:
source-map/parcel_sourcemap/src/utils.rs
Lines 59 to 61 in 32401c9
This seems to be a better solution:
https://doc.rust-lang.org/std/string/struct.String.html#method.strip_prefix
The text was updated successfully, but these errors were encountered: