On Friday, May 1, 2015 at 2:17:42 PM UTC-4, Nicola Mometto wrote:
>
>
> The type-hint on init-state is wrong. 
>
> It has to be either 
>
> (defn {:tag 'longs} init-state [] (long-array 1)) 
> or (preferred) 
> (defn init-state ^longs [] (long-array 1)) 
>

That's weirdly inconsistent with e.g. (defn ^String prefix [s n]...).

It also doesn't negate the original bug report. That VerifyError means that 
the Clojure compiler emitted invalid bytecode, instead of either emitting 
valid bytecode or reporting a sensible error. Any way you slice it the 
compiler is buggy if it can quietly emit broken bytecode.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to