Escape \0 followed by a number as a hex escape to avoid printing an octal#18026
Escape \0 followed by a number as a hex escape to avoid printing an octal#18026
Conversation
|
This fix is breaking other use cases. For example, if there is a string literal node containing the text |
|
TBQH, we should be flagging string literal nodes containing octal escapes as errors - see #396, the reason being that they're ambiguous and behavior depends on the runtime (old or new). Specifically, under strict mode |
|
I agree, but the error (and any normalization) should probably be at the parsing stage. |
Fixes #17226