2
0
Эх сурвалжийг харах

fix Issue4260 for static targets

Alexander Kuzmenko 8 жил өмнө
parent
commit
82dbba78a8

+ 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);
 	}
-}
+}