mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-08-02 15:42:36 +00:00
Fixed #1769 Missing some body trait variable declaration
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -101,6 +101,7 @@ package
|
||||
TestTryIf;
|
||||
TestTryReturn;
|
||||
TestTryReturn2;
|
||||
TestUndefined;
|
||||
TestUsagesTry;
|
||||
TestVector;
|
||||
TestVector2;
|
||||
|
||||
24
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestUndefined.as
vendored
Normal file
24
libsrc/ffdec_lib/testdata/as3_new/src/tests/TestUndefined.as
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
package tests
|
||||
{
|
||||
|
||||
public class TestUndefined
|
||||
{
|
||||
public function run():*
|
||||
{
|
||||
var i:int;
|
||||
var j:int
|
||||
var c:int = 5 + i;
|
||||
var f = function() {
|
||||
trace(c);
|
||||
trace(j);
|
||||
};
|
||||
|
||||
while (i < 10) {
|
||||
trace(i);
|
||||
i++;
|
||||
}
|
||||
|
||||
f();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user