If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : You can now close your own issues and reopen them later if needed. You can also comment closed issues.
List of issues#2664 AS2 decompilation: nightly regression with -- operator
Author:
worstcc
worstccDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Decompilation
State: closed 

> What steps will reproduce the problem?
Load a script tag with this code:
var temp = new Object();
temp.val = 1;
temp.val--;
> What is the expected output? What do you see instead?
Code decompiled. Error:
/*
* Decompilation error
* Code may be obfuscated
* Tip: You can try enabling "Deobfuscate code" option in Settings
* Error type: ClassCastException (class
com.jpexs.decompiler.flash.action.model.DecrementActionItem cannot be cast to class
com.jpexs.decompiler.flash.action.model.IncrementActionItem
(com.jpexs.decompiler.flash.action.model.DecrementActionItem and
com.jpexs.decompiler.flash.action.model.IncrementActionItem are in unnamed module of
loader 'app'))
*/
throw new flash.errors.IllegalOperationError("Not decompiled due to error");
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Nightly build 3453, Arch Linux & Windows 11.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
Happens when -- is used on an object property. Is not present in release 25.1.3.
--.swf (129 B)Fixed in nightly 3454.
State: new→closed
