Przeglądaj źródła

fix Issue4260 for static targets

Alexander Kuzmenko 8 lat temu
rodzic
commit
82dbba78a8
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      tests/unit/src/unit/issues/Issue4260.hx

+ 2 - 2
tests/unit/src/unit/issues/Issue4260.hx

@@ -3,11 +3,11 @@ package unit.issues;
 class Issue4260 extends unit.Test {
 	var floatValue:Float = 0.0;
 	var intValue:Float = 0;
-	var nullValue:Float;
+	var nullValue:Null<Float>;
 
 	function test() {
         t(intValue == floatValue);
 		f(intValue == nullValue);
 		f(floatValue == nullValue);
 	}
-}
+}