Fixed: AS3 decompilation: increment/decrement on properties

This commit is contained in:
Jindra Petřík
2021-02-21 20:36:17 +01:00
parent 08424221d6
commit 11c3c2a8a7
10 changed files with 128 additions and 25 deletions

View File

@@ -16,7 +16,7 @@
</define>
<define append="true">
<name>CONFIG::timeStamp</name>
<value>'16.02.2021'</value>
<value>'21.02.2021'</value>
</define>
<define append="true">
<name>CONFIG::air</name>

View File

@@ -16,7 +16,7 @@
</define>
<define append="true">
<name>CONFIG::timeStamp</name>
<value>'16.02.2021'</value>
<value>'21.02.2021'</value>
</define>
<define append="true">
<name>CONFIG::air</name>

View File

@@ -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;
}
}
}