Skip to content

Reserved words are not enforced by the compiler #1587

Closed
@mbrubeck

Description

@mbrubeck

The reference manual lists a small set of reserved words, but the compiler does not prevent them from being used as identifiers. Ideally it should fail with a syntax error, so that these words can be added as keywords in future versions without breaking any previously-working code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions