Skip to content

Should async/await be strict keywords? #64853

Closed
@ehuss

Description

@ehuss

My impression is that async and await should be strict keywords. They are currently marked as "unused" or "reserved" (unused, unstable). I think the main consequence is that in error messages it is called a reserved keyword if you try to use it as an identifier, when it should just say "keyword".

Metadata

Metadata

Assignees

Labels

A-async-awaitArea: Async & AwaitA-diagnosticsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-langRelevant to the language team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions