Skip to content

Commit f7436cd

Browse files
committed
CLJS-3211: Widen cljs.core/defprotocol sig arguments from list to seq (to include Cons)
1 parent aa53807 commit f7436cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/core.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2040,7 +2040,7 @@
20402040
(recur (assoc opts :doc head) methods tail)
20412041
(core/keyword? head)
20422042
(recur (assoc opts head (first tail)) methods (rest tail))
2043-
(core/list? head)
2043+
(core/seq? head)
20442044
(recur opts (conj methods head) tail)
20452045
:else
20462046
(throw #?(:clj (Exception.

0 commit comments

Comments
 (0)