Overshadowing variables should not be allowed #287
Closed
matiwinnetou
started this conversation in
Syntax suggestions
Replies: 1 comment 8 replies
|
The underlying UPLC also supports shadowing natively it's safe to let it happen, and it's pretty useful sometimes. I think this kind of thing can be up to personal preference, if you don't want to shadow you don't have to. |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The following Aiken code will compile:
I believe this could should not compile and the compiler should complain that variable a is already defined in the scope.
All reactions