Fixed showing register assignment of exception on catch in catch.

This commit is contained in:
Jindra Petřík
2021-02-07 18:17:40 +01:00
parent 99ef113dab
commit 59af3294c9
8 changed files with 83 additions and 39 deletions

View File

@@ -32,6 +32,7 @@ package
TestTryFinallyReturnNested;
TestTryFinallyReturnNested2;
TestTryFinallyReturnVoid;
TestTryCatchTry;
public function Main()
{

View File

@@ -0,0 +1,34 @@
package tests
{
/**
* ...
* @author JPEXS
*/
public class TestTryCatchTry
{
public function run() : void
{
trace("before try");
try
{
trace("in try");
}
catch (e:Error)
{
trace("in catch");
try
{
trace("in catch try");
}
catch (e2:Error)
{
trace("in catch in catch");
}
}
trace("after");
}
}
}