Skip to content

Commit 9158e59

Browse files
committed
CLJS-3171: Infer from externs tests failing
1 parent b5e22d2 commit 9158e59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/cljs/analyzer.cljc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3589,7 +3589,8 @@
35893589
(defn- valid-arity?
35903590
#?(:cljs {:tag boolean})
35913591
[argc method-params]
3592-
(boolean (some #{argc} (map count method-params))))
3592+
(or (nil? method-params) ; Assume valid if method-params unavailable
3593+
(boolean (some #{argc} (map count method-params)))))
35933594

35943595
(defn- record-tag?
35953596
[tag]

0 commit comments

Comments
 (0)