Quellcode durchsuchen

[cpp] disable test #4649 (see #8485)

Aleksandr Kuzmenko vor 6 Jahren
Ursprung
Commit
c16d2a69c3
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. 3 2
      tests/unit/src/unit/issues/Issue4649.hx

+ 3 - 2
tests/unit/src/unit/issues/Issue4649.hx

@@ -2,14 +2,15 @@ package unit.issues;
 
 class Issue4649 extends unit.Test {
 	static var v:Val<Float> = 10.5;
-
+#if !cpp
 	function test() {
 		v.incr();
 		eq(11.5, v);
 	}
+#end
 }
 
-abstract Val<T:Float>(T) from T to T {
+private abstract Val<T:Float>(T) from T to T {
 	public inline function incr():Void
 		this++;
 }