enhanced the compiler to prohibit variable declaration in class init scope
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
## if you want local temporaries variables at the top-level, use the blocked expression.
|
||||
| a | ## ERROR: syntax error - variable declaration disallowed
|
||||
set a 10;
|
||||
| a | ##ERROR: syntax error - variable declaration disallowed
|
||||
set a 10;
|
||||
|
Reference in New Issue
Block a user