How do you call a method which accepts Object arguments? String/format | http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html#format(java.lang.String, java.lang.Object...)
user=> (String/format "%s" "foo") ClassCastException java.lang.String cannot be cast to [Ljava.lang.Object; user/ eval668 (NO_SOURCE_FILE:1) Type hint doesn't help here. user=> (String/format "%s" ^Object "foo") IllegalArgumentException Metadata can only be applied to IMetas clojure.lang.Li spReader$MetaReader.invoke (LispReader.java:754) RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException (Uti l.java:219) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.