mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 15:56:10 +00:00
Fixed AS1/2 - spacing in with statement
This commit is contained in:
@@ -2368,4 +2368,21 @@ public class ActionScript2Test extends ActionScript2TestBase {
|
||||
+ "trace(\"E\");\r\n"
|
||||
);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void frame84_withTest() {
|
||||
compareSrc(84, "trace(\"withTest\");\r\n"
|
||||
+ "trace(\"before\");\r\n"
|
||||
+ "with(_root.something)\r\n"
|
||||
+ "{\r\n"
|
||||
+ "somesub = 5;\r\n"
|
||||
+ "with(subvar)\r\n"
|
||||
+ "{\r\n"
|
||||
+ "somesub2 = 4;\r\n"
|
||||
+ "}\r\n"
|
||||
+ "trace(\"after1\");\r\n"
|
||||
+ "}\r\n"
|
||||
+ "trace(\"after\");\r\n"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user