bugfix: finally sections are executed before return/break

This commit is contained in:
Araq 2010-09-20 23:54:40 +02:00
commit ea2306b301
6 changed files with 64 additions and 2 deletions

View file

@ -0,0 +1,12 @@
# Test break in try statement:
proc main: bool =
while true:
try:
return true
finally:
break
return false
echo main() #OUT false