Simon Krajewski 11 years ago
parent
commit
9bcbaf5532
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/unit/issues/Issue3388.hx

+ 2 - 0
tests/unit/issues/Issue3388.hx

@@ -5,6 +5,7 @@ private abstract A<T>(Array<T>) {
         this = a;
     }
 
+	#if java
     @:overload static inline public function sum(a:A<Int>) {
         return "sum of ints";
     }
@@ -12,6 +13,7 @@ private abstract A<T>(Array<T>) {
     @:overload static inline public function sum(a:A<String>) {
         return "sum of strings";
     }
+	#end
 }
 
 class Issue3388 extends Test {