I noticed in clojurescript/src/clj/cljs/closure.clj that the function build 
calls -compile and binds the return value to compiled. compiled is then 
checked if it is a collection, and if not, wraps it in a []. The problem is 
sometimes compiled is a hash-map, and this counts as a collection. In my 
use cases, this causes and error. I changed the coll? check to (and 
(sequential? compiled) (coll? compiled)) and now it works fine. Just wanted 
to mention it incase this really was a bug.

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