Aleksandr Kuzmenko 5 年 前
コミット
513caa4191
1 ファイル変更4 行追加0 行削除
  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() {
 		try {
 			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);
+			#end
 		} catch (e:Dynamic) {}
 		noAssert();
 	}