mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-05 17:47:44 +00:00
Fixed: AS3 decompilation: increment/decrement on properties
This commit is contained in:
@@ -3,6 +3,9 @@ package tests
|
||||
|
||||
public class TestIncDec
|
||||
{
|
||||
|
||||
private var attrx:int = 0;
|
||||
|
||||
public function run():*
|
||||
{
|
||||
var a:* = 5;
|
||||
@@ -39,6 +42,19 @@ package tests
|
||||
chars[index++] = 5;
|
||||
trace("arr[++e]");
|
||||
chars[++index] = 5;
|
||||
trace("attr++");
|
||||
trace(attrx++);
|
||||
attrx++;
|
||||
trace("attr--");
|
||||
trace(attrx--);
|
||||
attrx--;
|
||||
trace("++attr");
|
||||
trace(++attrx);
|
||||
++attrx;
|
||||
trace("--attr");
|
||||
trace(--attrx);
|
||||
--attrx;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user