Closed
Description
TypeScript Version: 3.6.0-dev.20190804
Search Terms:
Code
v\u0061r a = 1;
// parses as: 'var a = 1;'
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