Simon Krajewski 9 anni fa
parent
commit
1eafe956a2
1 ha cambiato i file con 19 aggiunte e 0 eliminazioni
  1. 19 0
      tests/unit/src/unit/issues/Issue4436.hx

+ 19 - 0
tests/unit/src/unit/issues/Issue4436.hx

@@ -0,0 +1,19 @@
+package unit.issues;
+
+import haxe.Int64;
+
+class Issue4436 extends Test {
+	function test() {
+		nullableValue = 29;
+		t(checkNull(29));
+	}
+
+	var nullableValue:Null<Int64>;
+
+	private function checkNull(value:Int64) {
+		if (nullableValue == value) {
+			return true;
+		}
+		return false;
+	}
+}