You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently one cannot declare local variables const:
julia>functionf()
const x =1end
ERROR: syntax: unsupported `const` declaration on local variable around REPL[1]:2
Stacktrace:
[1] top-level scope
@ REPL[1]:1
From time to time I wish this was possible.
Would it be hard to implement that?
Are there subtle questions about the semantics of this?
The text was updated successfully, but these errors were encountered:
Currently one cannot declare local variables const:
From time to time I wish this was possible.
The text was updated successfully, but these errors were encountered: