Skip to content

Commit 5c00113

Browse files
committed
compute :arglists when parsing externs
1 parent 7972430 commit 5c00113

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/cljs/externs.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
(.isInterface info) (merge {:iface qname})))
5050
(if (.hasReturnType info)
5151
{:tag 'Function
52-
:ret-tag (get-type* (.getReturnType info))})))
52+
:ret-tag (get-type* (.getReturnType info))
53+
:arglists (list (into [] (map symbol (.getParameterNames info))))})))
5354
(when-let [doc (.getOriginalCommentString info)]
5455
{:doc doc}))))))
5556

0 commit comments

Comments
 (0)