ClojureScript does not seem to fully support setting :arglists meta-data to 
a function. In particular, it seems to fail when the real parameter list 
contains an '&'.

In Clojure,
(:arglists (meta (defn f {:arglists '([x])} [& a] a)))
returns ([x]). But, in ClojureScript, it returns ([& a])

Note that simpler forms do work correctly: 
(:arglists (meta (defn f {:arglists '([x])} [a] a)))
returns ([x]) in both environments.

(Tested in in ClojureScript 1.9.908 and Clojure 1.9.0-alpha17)


-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to