-
Notifications
You must be signed in to change notification settings - Fork 475
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
Add tests for \8 in template/strict strings. #2654
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you walk through how "\8
" is covered in this syntax? I'm just not seeing it, but I'm feeling rusty, so appreciate your patience in advance:
EscapeSequence ::
CharacterEscapeSequence
LegacyOctalEscapeSequence
CharacterEscapeSequence ::
SingleEscapeCharacter
NonEscapeCharacter
SingleEscapeCharacter ::
one of
' " \ b f n r t v
NonEscapeCharacter ::
SourceCharacter but not one of EscapeCharacter or LineTerminator
not one of EscapeCharacter...
EscapeCharacter ::
SingleEscapeCharacter
DecimalDigit
The LegacyOctalEscapeSequence path is clear to me, and does not include 8.
|
||
$DONOTEVALUATE(); | ||
|
||
`\8`; |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
||
$DONOTEVALUATE(); | ||
|
||
'\8'; |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
@leobalter can you check me on that ^^ |
Sorry, this is indeed blocked by tc39/ecma262#2039 (as I'd initially misread B.1.2). |
@rkirsling thanks for the clarification |
FYI, I updated the base branch from |
This achieved consensus today. |
Resolves #2653.