mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-02 15:42:36 +00:00
Fixed AS3 - direct editation - call on local register
This commit is contained in:
@@ -35,6 +35,13 @@ public class ActionScript3ClassicAirDecompileTest extends ActionScript3Decompile
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCallLocal() {
|
||||
decompileMethod("classic_air", "testCallLocal", "var f:Function = getF();\r\n"
|
||||
+ "var b:int = f(1,3);\r\n",
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCatchFinally() {
|
||||
decompileMethod("classic_air", "testCatchFinally", "var a:int = 5;\r\n"
|
||||
|
||||
@@ -35,6 +35,13 @@ public class ActionScript3ClassicDecompileTest extends ActionScript3DecompileTes
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCallLocal() {
|
||||
decompileMethod("classic", "testCallLocal", "var f:Function = this.getF();\r\n"
|
||||
+ "var b:int = f(1,3);\r\n",
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCatchFinally() {
|
||||
decompileMethod("classic", "testCatchFinally", "var a:* = 5;\r\n"
|
||||
|
||||
Reference in New Issue
Block a user