The RI (latest build) skips a finally block due to a break in catch:
for (i = 0; i < 10; i++) {
print(i)
try {
throw "throwing"
}
catch (e) {
print("Catching")
break
}
finally {
print("Finally")
}
print("Bottom")
}
print("After")
This prints:
0
Catching
After
Should print:
0
Catching
Finally
After
Michael
The RI (latest build) skips a finally block due to a break in catch:
for (i = 0; i < 10; i++) {
print(i)
try {
throw "throwing"
}
catch (e) {
print("Catching")
break
}
finally {
print("Finally")
}
print("Bottom")
}
print("After")
This prints:
0
Catching
After
Should print:
0
Catching
Finally
After
Michael
The RI (latest build) skips a finally block due to a break in catch:
for (i = 0; i < 10; i++) { print(i) try { throw "throwing" } catch (e) { print("Catching") break } finally { print("Finally") } print("Bottom") } print("After")
This prints: 0 Catching After
Should print:
0 Catching Finally After
Michael