-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Discovered by @amcasey while running TS on test262.
export class IdentifierNameWithEscape {
\u{78}: number;
constructor() {
this.\u{78} = 0;
}
doThing() {
this.x = 42;
}
}
export class PrivateIdentifierWithEscape {
#\u{78}: number;
constructor() {
this.#\u{78} = 0;
}
doThing() {
this.#x = 42;
}
}Currently IdentifierNameWithEscape parses and type-checks correctly; however, PrivateIdentifierWithEscape does not even parse.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issue