On Thu, Dec 15, 2011 at 6:01 PM, Cedric Greevey <cgree...@gmail.com> wrote:

> On Thu, Dec 15, 2011 at 5:59 PM, David Nolen <dnolen.li...@gmail.com>
> wrote:
> > On Thu, Dec 15, 2011 at 5:53 PM, Cedric Greevey <cgree...@gmail.com>
> wrote:
> >> #<CompilerException java.lang.IllegalArgumentException: fns taking
> >> primitives support only 4 or fewer args,
> >>
> >> But the function isn't *taking* primitives. It's only *returning* a
> >> primitive, after taking Objects. So it obviously shouldn't produce
> >> this error.
> >
> > Not a bug,
>
> Clearly a bug. A limitation on primitive arguments simply cannot be
> applicable to a function with no primitive arguments.


primitive args/return are thoroughly intertwined.  You cannot separate them
in the current implementation. So it's not a bug, it's a limitation (and I
one I don't see how to surmount). The error could be changed to reflect
that.

David

-- 
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

Reply via email to