Removed code to extract defmethod docstring has this feature isn't supported by Clojure yet.
This commit is contained in:
parent
8c8b9648fd
commit
ae24c5d54c
2 changed files with 2 additions and 7 deletions
|
@ -160,11 +160,7 @@
|
|||
|
||||
(defmethod dispatch-form 'defmethod
|
||||
[form raw nspace-sym]
|
||||
(let [ds (nth form 3)
|
||||
docstring (when (string? ds) ds)]
|
||||
[docstring
|
||||
(strip-docstring docstring raw)
|
||||
nspace-sym]))
|
||||
[nil raw nspace-sym])
|
||||
|
||||
(defmethod dispatch-form :default
|
||||
[form raw nspace-sym]
|
||||
|
|
|
@ -91,8 +91,7 @@
|
|||
|
||||
(defmulti kompile identity)
|
||||
|
||||
(defmethod kompile [::standard AutoIncClause]
|
||||
"This is a docstring. On the left."
|
||||
(defmethod kompile [:standard]
|
||||
[_]
|
||||
"GENERATED ALWAYS AS IDENTITY")
|
||||
|
||||
|
|
Loading…
Reference in a new issue