考虑一个无参数的函数
(defn aarg {:arglists '([fake])} [])
=> {:ns cljs.user,
:name aarg,
:file nil,
:end-column 11,
:column 1,
:line 1,
:end-line 1,
:arglists ([fake]),
:doc nil,
:test nil}
一切如预期工作,但当引入可变参数时
(defn aarg {:arglists '([fake])} [& env])
(meta #'aarg)
=> {:ns cljs.user,
:name aarg,
:file nil,
:end-column 11,
:top-fn {:variadic true,
:max-fixed-arity 0,
:method-params [(env)],
:arglists ([& env]),
:arglists-meta (nil)},
:column 1,
:line 1,
:end-line 1,
:arglists ([& env]),
:doc nil,
:test nil}
:arglists 不受影响。