Fork me on GitHub
#cursive
<
2022-09-28
>
souenzzo16:09:52

cursive can't resolve or vars inside destructure in reify it is supported by clojure@jvm. not sure about cljs.

souenzzo16:09:25

here the code

(clojure.core.protocols/coll-reduce
  (reify clojure.core.protocols/CollReduce
    (coll-reduce [this {:keys [x]
                        :or   {x 42}}]
      x))
  {})
it returns 42

cfleming05:09:11

Thanks for the repro case, I’ll check that.