mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-23 18:24:34 +00:00
AS3: Incorrect handling of strict equals operator in if vs switch resulting in §§pop
This commit is contained in:
21
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestStrictEquals.as
vendored
Normal file
21
libsrc/ffdec_lib/testdata/flashdevelop/src/tests/TestStrictEquals.as
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestStrictEquals
|
||||
{
|
||||
|
||||
public function run() : void
|
||||
{
|
||||
var k:int = 6;
|
||||
if (this.f() !== this.f()){
|
||||
trace("is eight");
|
||||
}
|
||||
}
|
||||
|
||||
private function f():String {
|
||||
return "x";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user