cgrand / enlive

a selector-based (à la CSS) templating and transformation system for Clojure

Home Page:http://wiki.github.com/cgrand/enlive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lockstep transformation throws ClassCastException

bendlas opened this issue · comments

Lockstep transforms trigger exceptions due to faulty usage of transients

user=> (use 'net.cgrand.enlive-html)
user=> (at (html [:html [:a "foo"][:b "bar"]])
         :lockstep {[:a] (content "1") [:b] (content "2")})
java.lang.ClassCastException: clojure.lang.PersistentArrayMap cannot be cast to clojure.lang.ITransientCollection

Looks like this should be closed, if indeed it was fixed by PR #79.