mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 15:10:45 +00:00
Fixed #1762 AS call on integer numbers parenthesis
This commit is contained in:
+7
@@ -1214,6 +1214,13 @@ public class ActionScript3ClassicAirDecompileTest extends ActionScript3Decompile
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNumberCall() {
|
||||
decompileMethod("classic_air", "testNumberCall", "var a:String = (5).toString();\r\n"
|
||||
+ "var b:String = 5.2.toString();\r\n",
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testParamNames() {
|
||||
decompileMethod("classic_air", "testParamNames", "return firstp + secondp + thirdp;\r\n",
|
||||
|
||||
+7
@@ -1204,6 +1204,13 @@ public class ActionScript3ClassicDecompileTest extends ActionScript3DecompileTes
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNumberCall() {
|
||||
decompileMethod("classic", "testNumberCall", "var a:String = (5).toString();\r\n"
|
||||
+ "var b:String = 5.2.toString();\r\n",
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testParamNames() {
|
||||
decompileMethod("classic", "testParamNames", "return firstp + secondp + thirdp;\r\n",
|
||||
|
||||
Reference in New Issue
Block a user