소스 검색

fix Issue4260 for static targets

Alexander Kuzmenko 8 년 전
부모
커밋
82dbba78a8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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);
 	}
-}
+}