Skip to content

misleading errors - binary operator error should not be returned when trying to declare variable with a reserved word #1

Description

@panzerstadt

let a = for;

for is a reserved word, the warning should be more helpful and tell the user that 'for' is a reserved word, and not "Expected an operand before 'for', which is an error for missing a left binary operator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions