return;
trace("error");
} finally {
- trace("ok 1/8");
+ trace("ok 1/9");
}
trace("error");
}
break;
trace("error");
} finally {
- trace("ok 2/8");
+ trace("ok 2/9");
}
trace("error");
} while(true);
try {
var x = 1+1;
} finally {
- trace("ok 3/8");
+ trace("ok 3/9");
}
}
throw new Error();
trace("error");
} finally {
- trace("ok 4/8");
+ trace("ok 4/9");
}
trace("error");
} catch(e:Error) {
- trace("ok 5/8");
+ trace("ok 5/9");
}
}
x*=2;
}
if(x==2)
- trace("ok 6/8");
+ trace("ok 6/9");
}
- function fail() {
+ function fail1() {
try {
throw new Error();
} finally {
- trace("ok 7/8");
+ trace("ok 7/9");
+ }
+ }
+
+ function fail2() {
+ try {
+ fail1();
+ } finally {
+ trace("ok 8/9");
}
}
function test_exception3() {
try {
- fail();
+ fail2();
} catch(e:Error) {
- trace("ok 8/8");
+ trace("ok 9/9");
}
}