Actions
Bug #474
openEnd is treated as Exit when inside a procedure!
Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
Start date:
09/10/2020
Due date:
% Done:
0%
Estimated time:
1:00 h
Affected version:
Description
This bug has been around for quite some time.
I reported it before but could not find it on aozmine, so I added it again.
Example:
Print "Done"
End
Procedure DO_Stuff
Print "test"
End
Print "test2"
End Proc```
Result:
test
Done
The "Done" should never be seen, since execution
should have stopped in the middle of the procedure.
Updated by Brian Flanagan about 4 years ago
Looking at the generated code, I see that End is incorrectly being translated as a return from the procedure!
Updated by Brian Flanagan about 4 years ago
- Priority changed from Normal to High
Actions