Fixed: #2459 AS1/2 StoreRegister improper declaration position

This commit is contained in:
Jindra Petřík
2025-05-25 11:14:06 +02:00
parent 2f9b6d5f95
commit 9880555280
15 changed files with 107 additions and 39 deletions

View File

@@ -103,10 +103,11 @@ public class ActionDefineFunctionPushRegisterCleanerTest extends ActionScript2Te
+ "function testReturns()\r\n"
+ "{\r\n"
+ "var _loc2_ = 10;\r\n"
+ "var _loc1_;\r\n"
+ "if(_loc2_ > 2)\r\n"
+ "{\r\n"
+ "_loc2_ = _loc2_ + 1;\r\n"
+ "var _loc1_ = 0;\r\n"
+ "_loc1_ = 0;\r\n"
+ "while(_loc1_ < 100)\r\n"
+ "{\r\n"
+ "if(_loc2_ + _loc1_ == 27)\r\n"