-
Notifications
You must be signed in to change notification settings - Fork 12.8k
String Interpolation error with escaped strings #20192
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
Comments
This is either a bug or a symptom/duplicate of #396. |
PRs appreciated. |
ping @mhegazy and @DanielRosenwasser |
This affects I wouldn't mind giving a crack at a PR if you can direct me to the cases that the |
@chuckjaz what's your specific problem? That transpiled strings get rewritten at all, or a problem with their meaning? We recently fixed a bug to do with octals in transpiled strings which may cover your problem? |
That appears to be the fix we need, we were running into the |
It should be in the 2.8 RC, I believe, whenever that goes out (if it hasn't already). |
Full example here in the Playground: https://goo.gl/VWEkV5
The transpiler isn't consistent with native JavaScript when using the escaping character.
For example:
\0
== "\0" but\0000
!= "\0000"The text was updated successfully, but these errors were encountered: