Reserved words are not enforced by the compiler #1587
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
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.
The text was updated successfully, but these errors were encountered: