浏览代码

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

Rudy Ges 1 年之前
父节点
当前提交
cdae8caf7b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/unit/src/unit/TestMisc.hx

+ 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 );