-
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
Test marked as pass should fail #19
Comments
Compare this test. |
I'm inclined to think that, of the two tests, the one in test262 is incorrect (when it claims there's a syntax error). In the expression The |
@jmdyck If that would be true, it would apply to 11.6 does permit unicode escape sequences, but it doesn't say to decode them in general case, which means But it's not valid |
I think it does. It says "Unicode escape sequences are permitted in an IdentifierName, where they contribute a single Unicode code point to the IdentifierName." It doesn't say that the interpretation of escape sequences occurs only sometimes, and not in some "general case". In fact, the last sentence of the paragraph says that all interpretations of Mind you, I think it's clear that TC39 intends this to be a Syntax Error; I just think the spec says pretty much the opposite. So I'll raise a spec bug. |
pass/3dbb6e166b14a6c0.js was moved to fail/ in PR #23, so this issue can presumably be closed. |
Test file: pass/3dbb6e166b14a6c0.js
The text was updated successfully, but these errors were encountered: