Fixed: #270 AS decompilation - comma in ternar

This commit is contained in:
Jindra Petřík
2021-03-13 20:32:24 +01:00
parent b84ccc7005
commit 98703e4e5a
11 changed files with 212 additions and 15 deletions

View File

@@ -1978,7 +1978,7 @@ public class ActionScript2Test extends ActionScript2TestBase {
+ "{\r\n"
+ "trace(_loc1_);\r\n"
+ "}\r\n"
+ "_loc3_.r1 = _loc2_ + 1 + \". \" + (!_loc4_ ? _loc3_.r2 = v1[_loc2_][0] : \"unk\");\r\n"
+ "_loc3_.r1 = _loc2_ + 1 + \". \" + (!_loc4_ ? (_loc3_.r2 = v1[_loc2_][0]) : \"unk\");\r\n"
+ "}\r\n"
+ "trace(\"chainedAfterForInTest\");\r\n"
+ "var v1 = {};\r\n"