Issue #837 AS3 try..finally without catch decompilation fix

This commit is contained in:
Jindra Petřík
2015-04-15 13:50:30 +02:00
parent e6cc58e2b2
commit 642b6827db
5 changed files with 85 additions and 12 deletions

Binary file not shown.

View File

@@ -887,5 +887,27 @@
var a:Vector.<Vector.<int>> = new Vector.<Vector.<int>>();
var b:Vector.<int> = new <int>[10,20,30];
}
public function testFinallyOnly(){
var a = 5;
try{
a = 9;
trace("intry");
}finally {
trace("infinally");
}
}
public function testCatchFinally(){
var a = 5;
try{
a = 9;
trace("intry");
}catch(e){
trace("incatch");
}finally {
trace("infinally");
}
}
}
}