Aleksandr Kuzmenko před 5 roky
rodič
revize
513caa4191
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      tests/unit/src/unit/issues/Issue4986.hx

+ 4 - 0
tests/unit/src/unit/issues/Issue4986.hx

@@ -4,7 +4,11 @@ class Issue4986 extends Test {
 	function test() {
 	function test() {
 		try {
 		try {
 			var v = new haxe.ds.Vector<Array<Float>>(1);
 			var v = new haxe.ds.Vector<Array<Float>>(1);
+			#if cppia //see https://github.com/HaxeFoundation/haxe/issues/9261
+			v[0].length;
+			#else
 			foo(v[0].length);
 			foo(v[0].length);
+			#end
 		} catch (e:Dynamic) {}
 		} catch (e:Dynamic) {}
 		noAssert();
 		noAssert();
 	}
 	}