mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-22 17:27:26 +00:00
Fixed AS1/2 - stop/play/etc. can be used in expressions, pushing undefined
This commit is contained in:
@@ -165,4 +165,12 @@ public class ActionScript2CompilerTest extends ActionScript2TestBase {
|
||||
+ "DefineLocal\n"
|
||||
+ "}");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void stopUndefined() {
|
||||
testCompilation("trace(stop());", "ConstantPool\n"
|
||||
+ "Stop\n"
|
||||
+ "Push undefined undefined\n"
|
||||
+ "Trace");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user