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
watch-and-reload takes :key value varargs and watch-and-reload-with-opts tries to merge a map with a list of those varargs. Essentially, it's doing something like ((fn [& opts] (merge {} opts)) :a 1). This doesn't work in ClojureScript, though (or Clojure, for that matter.)
To reproduce this, try (fw/watch-and-reload :jsload-callback (fn [])); ClojureScript 2202 will throw an error with is not ISeqable and ClojureScript 2227 will throw something with conj on a map takes map entries or seqables of map entries.
watch-and-reload
takes :key value varargs andwatch-and-reload-with-opts
tries to merge a map with a list of those varargs. Essentially, it's doing something like((fn [& opts] (merge {} opts)) :a 1)
. This doesn't work in ClojureScript, though (or Clojure, for that matter.)To reproduce this, try
(fw/watch-and-reload :jsload-callback (fn []))
; ClojureScript 2202 will throw an error withis not ISeqable
and ClojureScript 2227 will throw something withconj on a map takes map entries or seqables of map entries
.This regressed in 6b313e4
The text was updated successfully, but these errors were encountered: