Fixed #1762 AS call on integer numbers parenthesis

This commit is contained in:
Jindra Petřík
2021-12-01 08:44:30 +01:00
parent 2011684b7f
commit 1928962d6f
17 changed files with 65 additions and 8 deletions

View File

@@ -2385,4 +2385,12 @@ public class ActionScript2Test extends ActionScript2TestBase {
+ "trace(\"after\");\r\n"
);
}
@Test
public void frame85_numbersCallTest() {
compareSrc(85, "trace(\"numbersCallTest\");\r\n"
+ "var a = (5).toString();\r\n"
+ "var b = 5.2.toString();\r\n"
);
}
}