Skip to content

REPL Await invalidates const #17669

Closed
Closed
@bmeck

Description

  • Version: HEAD
  • Platform: all
  • Subsystem: repl

The REPL makes const variables not const if await appears in the input:

const x = 1; x = 2; await 0; x

Metadata

Assignees

Labels

docIssues and PRs related to the documentations.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.known limitationIssues that are identified as known limitations.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions