You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Finding the cause was "fun"; there's no stacktrace because the failure is in the destructuring of the first map element in the vector result of at.)
Anyway, the workaround is easy (seq around the result of at). The impl of nodify should probably fall through to the (sequential? node-spec) case if node-spec is a vector with a map for a first element.
The text was updated successfully, but these errors were encountered:
Trace back when compiled against clojure 1.7:
ClassCastException clojure.lang.PersistentArrayMap cannot be cast to clojure.lang.Named clojure.core/name (core.clj:1524)
Incoming...
This was surprising:
(Finding the cause was "fun"; there's no stacktrace because the failure is in the destructuring of the first map element in the vector result of
at
.)Anyway, the workaround is easy (
seq
around the result ofat
). The impl ofnodify
should probably fall through to the(sequential? node-spec)
case ifnode-spec
is a vector with a map for a first element.The text was updated successfully, but these errors were encountered: