2
0
Эх сурвалжийг харах

Might be very old, but still seems to apply to jvm too..

Rudy Ges 1 жил өмнө
parent
commit
cdae8caf7b

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

@@ -283,9 +283,11 @@ class TestMisc extends Test {
 		// check inherited dynamic method
 		var inst = new MyOtherDynamicClass(0);
 		var add = inst.add;
+		#if (!java) //see https://groups.google.com/d/msg/haxedev/TUaUykoTpq8/Q4XwcL4UyNUJ
 		eq( inst.add(1,2), 13 );
 		eq( inst.add.bind(1)(2), 13 );
 		eq( add(1,2), 13 );
+		#end
 
 		// check static dynamic
 		eq( MyDynamicClass.staticDynamic(1,2), 13 );