RCF rewriting varadic fns (fn [& xs]) wrong
dustingetz opened this issue · comments
(def vector' (fn [& xs] (apply vector xs)))
(tests
(vector 1 2 3) := [1 2 3]
(vector' 1 2 3) := [1 2 3])
✅✅
(tests
(vector 1 2 3) := [1 2 3]
(def vector' (fn [& xs] (apply vector xs)))
(vector' 1 2 3) := [1 2 3])
✅
ERROR in () (:)
expected: (hyperfiddle.rcf/= (vector' 1 2 3) [1 2 3])
actual: clojure.lang.ArityException: Wrong number of args (3) passed to: dustin.y2022.missionary-faq/eval8620/vector'--8625
Fixed in 83b90b4
reopening for unit tests