setting local variable before declaration causes incomprehensible runtime error
Bug #1740752 reported by
Zenon Martyniuk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Enchanting |
New
|
Undecided
|
Unassigned |
Bug Description
When I create a program in which I set local variable before declaring it (I send an example of such program in attachment), the program compiles without any errors or warnings, but when I run it on my mindstorms brick, I get incomprehensible runtime error:
Exception: 16
at: 83:9
I would prefer to have compile time error in such situation.
To post a comment you must log in.