Timothy Baldridge wrote a patch to improve this issue and attached it to CLJ-1083:
http://dev.clojure.org/jira/browse/CLJ-1083 Andy On Dec 26, 2012, at 3:20 AM, Vladimir Tsichevski wrote: > Hi, > > if the function name has characters, which are mangled by Clojure compiler, > and we pass to such function wrong number of argument, we got wrong error > message. For example: > > (defn a->b [x] x) > (a->b 1 2) > > produces: > > clojure.lang.ArityException: Wrong number of args (2) passed to: user$a > at clojure.lang.AFn.throwArity (AFn.java:437) > clojure.lang.AFn.invoke (AFn.java:43) > ... > > Is it possible to add some de-mangling function, in order to recover the > correct original name? > > Regards, > Vladimir -- 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