Details
-
Type:
Enhancement
-
Status:
Open
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Backlog
-
Component/s: None
-
Labels:None
Description
From http://groups.google.com/group/clojure/browse_thread/thread/7d0d6cb32656a621
E.g., trying to call java.util.Collections.addAll(Collection c, T... elements)
user=> (Collections/addAll [] (object-array 0)) false user=> (Collections/addAll []) IllegalArgumentException No matching method: addAll clojure.lang.Compiler$StaticMethodExpr.<init> (Compiler.java:1401)
The Method class provides an isVarArg() method, which could be used to inform the compiler to process things differently.