Skip to content

Extended Unicode escapes should be parsed in all language targets #50935

@DanielRosenwasser

Description

@DanielRosenwasser
export let \u{78} = 10;
x++;

Should be a valid file for us to parse and type-check regardless of the language target; however, in ES3 and ES5, this goes haywire because we only parse extended Unicode escapes in ES2015+.

This is a pre-requisite for #50883.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptES6Relates to the ES6 SpecFix AvailableA PR has been opened for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions