-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do thisYou can do this
Milestone
Description
Bug Report
π Version & Regression Information
ts stable & nightly
β― Playground Link
π» Code
export function foo(enum) {
return enum;
}
π Actual behavior
function foo(enum) {
^^^^^ Error: Identifier expected. (1003)
return enum;
^^^^^ Error: Expression expected. (1109)
π Expected behavior
function foo(enum) {
^^^^ Error: Identifier expected. 'enum' is a reserved word that cannot be used here. (1359)
captain-yossariancaptain-yossarian
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do thisYou can do this