mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 10:55:12 +00:00
Fixed #2418 AS3 - initialization of class static vars in script initializer (Haxe)
This commit is contained in:
14
libsrc/ffdec_lib/testdata/haxe/src/tests_classes/TestStaticVars.hx
vendored
Normal file
14
libsrc/ffdec_lib/testdata/haxe/src/tests_classes/TestStaticVars.hx
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
package tests_classes;
|
||||
|
||||
class TestStaticVars {
|
||||
public var a:Int;
|
||||
public var b:Int;
|
||||
|
||||
public static var sa:Int = 1001;
|
||||
public static var sb:Int = 1002;
|
||||
|
||||
public function new(a:Int, b:Int) {
|
||||
this.a = a;
|
||||
this.b = b;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user