On 26 March 2011 02:57, Tassilo Horn <tass...@member.fsf.org> wrote:
> Alan <a...@malloys.org> writes:
>
> Hi Alan,
>
>> That error message is coming from some use of (case), usually in your
>> code but conceivably from somewhere in Clojure.  It tries to do some
>> clever bit-fiddling to generate a constant-time-dispatch on the
>> hashcodes of its clauses, and if that fails it throws a compiler error
>> (arguably it could degrade into to a cond, but it doesn't).
>>
>> Given that you don't use case at all, and the backtrace suggests the
>> case call is in dispatching for the protocol, it sounds to me like a
>> bug in the protocol dispatcher.
>
> I would have preferred a bug in my code...

It's definitely a bug in case.  See this thread:

http://groups.google.com/group/clojure/browse_thread/thread/9b864358a49f99fa/5b5a1a2b12316604?pli=1

and the ticket it refers to:

http://dev.clojure.org/jira/browse/CLJ-426

Looking at the ticket it is being worked on.

-- 
Michael Wood <esiot...@gmail.com>

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