mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 13:36:29 +00:00
fix: push commands in as2 left in code (#2654)
If the code does not contain any §§pop() instructions, then all §§push instructions are converted to their values with comment "unpopped". Fixes #2654
This commit is contained in:
@@ -241,10 +241,11 @@ public class ActionScript2ClassesTest extends ActionScript2TestBase {
|
||||
+ " var c = true;\n"
|
||||
+ " function TestUnpopped()\n"
|
||||
+ " {\n"
|
||||
+ " \n"
|
||||
+ " }\n"
|
||||
+ " function run()\n"
|
||||
+ " {\n"
|
||||
+ " §§push(this.a);\n"
|
||||
+ " this.a; //unpopped\n"
|
||||
+ " trace(\"b\");\n"
|
||||
+ " if(this.c)\n"
|
||||
+ " {\n"
|
||||
|
||||
Reference in New Issue
Block a user