Aleksandr Kuzmenko 5 лет назад
Родитель
Сommit
24d7e79e37
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      tests/unit/src/unit/TestMisc.hx

+ 2 - 1
tests/unit/src/unit/TestMisc.hx

@@ -599,9 +599,10 @@ class TestMisc extends Test {
 
 	static var nf1:Base = null;
 	static var nf2:{s:String} = null;
-
+#if !cppia //see https://github.com/HaxeFoundation/haxe/issues/9261
 	function testNullFieldAccess() {
 		eq("NPE", try nf1.s catch (e:Any) "NPE");
 		eq("NPE", try nf2.s catch (e:Any) "NPE");
 	}
+#end
 }