greenh / CJD

CJD is a system for documenting Clojure programs through the use of structured comments embedded in Clojure source code.
Other
12 stars 0 forks source link

Arguments not being picked up in destructuring forms #33

Closed greenh closed 11 years ago

greenh commented 11 years ago

In an artifact form using destructuring, like

(defn destruct-fn-1 [[[a b] c & ds :as the-seq] [e f] {x :xx y :yy :as options} {:keys [p q]}])

CJD picks up the most of the arguments, but misses the :keys [p q], and the collective map argument options (but it sees the the-seq OK). Also, options aren't selected for emphasis, as in an @opt :xx ... construct... but it's unclear what the right behavior here is.