const
Keyword
#32
Labels
compiler
Something related to the compiler
enhancement
New feature or request
interpreter
Interpreter related
typechecker
TypeChecker-related
Milestone
For exporting/importing/defining constants, it would be nice to have a designated keyword
const
. Variables declared asconst
are not mutable (not even in the current scope) and are exported. They should be constants, i.e., they have to be a static literal (so no if-else or function call).Condition of Satisfaction
const
keyword exists and can be parsedThe text was updated successfully, but these errors were encountered: