If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.
List of issues#93 Switch + return
Author: pepka
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Decompilation
State: closed
> What steps will reproduce the problem?
function f (state)
{
switch(state)
{
case 1:
return 1;
case 2:
return 2;
case 3:
return 3;
}
};
> What is the expected output? What do you see instead?
An exception is thrown
???? 13, 2013 5:23:14 PM com.jpexs.decompiler.flash.graph.Graph printGraph
SEVERE: error during printgraph
java.lang.IndexOutOfBoundsException: Index: 18, Size: 18
at java.util.ArrayList$SubList.rangeCheck(Unknown Source)
at java.util.ArrayList$SubList.get(Unknown Source)
...
> What version of the product are you using? On what operating system?
Version 1.5.2
State: new→opened
version 1.6.0 was released,
try it, it should be fixed.
State: opened→upgraded
Fixed. Thanks!
State: upgraded→closed