Dan Korostelev 4 lat temu
rodzic
commit
4177289b3d
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      tests/unit/src/unit/issues/Issue10193.hx

+ 2 - 2
tests/unit/src/unit/issues/Issue10193.hx

@@ -1,7 +1,7 @@
 package unit.issues;
 
 class Issue10193 extends Test {
-	#if (js || cs || java)
+	#if (js || (cs && !no_root) || java)
 	function test() {
 		var c = new C(42);
 		eq(42, c.a);
@@ -10,7 +10,7 @@ class Issue10193 extends Test {
 	#end
 }
 
-#if (js || cs || java) // some targets are not happy with this for some reason...
+#if (js || (cs && !no_root) || java) // some targets are not happy with this for some reason...
 @:keep
 @:native("Issue10193E")
 private class EImpl {