mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-23 00:55:49 +00:00
AS3: Incorrect handling of strict equals operator in if vs switch resulting in §§pop
This commit is contained in:
@@ -910,6 +910,16 @@ public class ActionScript3Test extends ActionScriptTestBase {
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStrictEquals() {
|
||||
decompileMethod("testStrictEquals", "var k:int = 6;\r\n"
|
||||
+ "if(this.f() !== this.f())\r\n"
|
||||
+ "{\r\n"
|
||||
+ "trace(\"is eight\");\r\n"
|
||||
+ "}\r\n",
|
||||
false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStringConcat() {
|
||||
decompileMethod("testStringConcat", "var k:int = 8;\r\n"
|
||||
|
||||
Reference in New Issue
Block a user