|
@@ -3,10 +3,12 @@ package unit.issues;
|
|
class Issue2224 extends unit.Test {
|
|
class Issue2224 extends unit.Test {
|
|
|
|
|
|
function test() {
|
|
function test() {
|
|
|
|
+ #if !js
|
|
eq("opt=null", getEF1());
|
|
eq("opt=null", getEF1());
|
|
eq("opt=null", getEF2());
|
|
eq("opt=null", getEF2());
|
|
eq("opt=null", getInt());
|
|
eq("opt=null", getInt());
|
|
eq("opt=null", getClass());
|
|
eq("opt=null", getClass());
|
|
|
|
+ #end
|
|
}
|
|
}
|
|
|
|
|
|
static function getEF1( ?opt : Null<haxe.EnumFlags<MyEnum>> ){
|
|
static function getEF1( ?opt : Null<haxe.EnumFlags<MyEnum>> ){
|