fix arglist metadata

This commit is contained in:
Michael Blume 2016-05-21 13:26:06 -07:00
parent 8c0e88db43
commit 3265e4e14d

View file

@ -23,7 +23,11 @@
(build-clause ~kw m# args#)))
;; maintain the original arglist instead of getting
;; ([& args__6880__auto__])
(alter-meta! assoc :arglists '(~arglist))))))
(alter-meta!
assoc
:arglists
'(~(into [] (rest arglist))
~(into [(first arglist)] (rest arglist))))))))
(defn collify [x]
(if (coll? x) x [x]))