setting local variable before declaration causes incomprehensible runtime error

Bug #1740752 reported by Zenon Martyniuk
6
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.

Revision history for this message
Zenon Martyniuk (akcent) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.