On Mon, Sep 12, 2011 at 11:39 AM, Sean Corfield <seancorfi...@gmail.com> wrote: > On Mon, Sep 12, 2011 at 8:16 AM, Stefan Kamphausen > <ska2...@googlemail.com> wrote: >> Maybe the example becomes clearer with a little less foo and a little more >> bar and baz: >> >> shell> lein repl >> REPL started; server listening on localhost port 64913 >> user=> (defn foo [arg] "foo") >> #'user/foo >> user=> (defn bar->baz [a b] "bar->baz") >> #'user/bar->baz >> user=> (foo (bar->baz "a")) >> java.lang.IllegalArgumentException: Wrong number of args (1) passed to: >> user$bar (NO_SOURCE_FILE:0) > > It is reporting the correct function but not reporting the name > correctly (I just tried a similar example before I saw Stefan's post).
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/AFn.java#L436 --Chouser -- 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