We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c13383c commit d435b43Copy full SHA for d435b43
src/main/clojure/cljs/core.cljc
@@ -1866,7 +1866,10 @@
1866
(throw
1867
(missing-protocol
1868
~(core/str psym "." fname) ~(first sig))))))))))
1869
- psym (vary-meta psym assoc-in [:protocol-info :methods]
+ psym (-> psym
1870
+ (vary-meta update-in [:jsdoc] conj
1871
+ "@interface")
1872
+ (vary-meta assoc-in [:protocol-info :methods]
1873
(into {}
1874
(map
1875
(core/fn [[fname & sigs]]
@@ -1875,7 +1878,7 @@
1878
sigs (take-while vector? sigs)]
1876
1879
[(vary-meta fname assoc :doc doc)
1877
1880
(vec sigs)]))
- methods)))
1881
+ methods))))
1882
method (core/fn [[fname & sigs]]
1883
(core/let [doc (core/as-> (last sigs) doc
1884
(core/when (core/string? doc) doc))
0 commit comments