We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e22d2 commit 9158e59Copy full SHA for 9158e59
1 file changed
src/main/clojure/cljs/analyzer.cljc
@@ -3589,7 +3589,8 @@
3589
(defn- valid-arity?
3590
#?(:cljs {:tag boolean})
3591
[argc method-params]
3592
- (boolean (some #{argc} (map count method-params))))
+ (or (nil? method-params) ; Assume valid if method-params unavailable
3593
+ (boolean (some #{argc} (map count method-params)))))
3594
3595
(defn- record-tag?
3596
[tag]
0 commit comments