You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we apparently already had a test for this - scannerUnicodeEscapeInKeyword1.ts - which has existed since the compiler was uploaded to github. It just has the wrong behavior.
TypeScript Version: 3.6.0-dev.20190804
Search Terms:
Code
Expected behavior:
Keyword must not contain escaped characters
Actual behavior:
No parse/compile error. Instead Chrome gives
Uncaught SyntaxError: Keyword must not contain escaped characters
Playground Link: doesn't use the correct version yet
Related Issues:
#32096 made parsing the above code possible. cc @weswigham
The text was updated successfully, but these errors were encountered: