Re: Misleading ArityException error string

2012-12-26 Thread Vladimir Tsichevski
Thanx! On Wednesday, December 26, 2012 6:49:36 PM UTC+4, Andy Fingerhut wrote: > > 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,

Re: Misleading ArityException error string

2012-12-26 Thread Andy Fingerhut
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

Misleading ArityException error string

2012-12-26 Thread Vladimir Tsichevski
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