2
0
Simon Krajewski 1 жил өмнө
parent
commit
25972984a7

+ 2 - 0
tests/unit/src/unit/issues/Issue11054.hx

@@ -40,6 +40,7 @@ private class GreetRobot extends Robot<IGreetRobot> {
 }
 }
 
 
 class Issue11054 extends Test {
 class Issue11054 extends Test {
+	#if jvm
 	function test() {
 	function test() {
 		var robot1 = new MathRobot();
 		var robot1 = new MathRobot();
 		var robot2 = new GreetRobot(robot1);
 		var robot2 = new GreetRobot(robot1);
@@ -55,6 +56,7 @@ class Issue11054 extends Test {
 		});
 		});
 		t(called);
 		t(called);
 	}
 	}
+	#end
 
 
 	static function add(a:Int, b:Int):Int {
 	static function add(a:Int, b:Int):Int {
 		return a + b;
 		return a + b;