소스 검색

better test for #8764

Aleksandr Kuzmenko 6 년 전
부모
커밋
3fe878cf9b
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      tests/unit/src/unit/issues/Issue8764.hx

+ 3 - 3
tests/unit/src/unit/issues/Issue8764.hx

@@ -1,13 +1,13 @@
 package unit.issues;
 
 class Issue8764 extends unit.Test {
-#if (static && !jvm)
+#if static
 	function test() {
 		eq(0.0, foo());
 	}
 
-	static function foo(?e:Float):Null<Single> {
-		return (e:Float);
+	static function foo(?e:Int):Null<Float> {
+		return (e:Int);
 	}
 #end
 }