From 5ae16a706bcc4209d65f5e9602667e804783ac29 Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Tue, 20 Aug 2024 17:32:07 -0500 Subject: [PATCH] try --- src/malli/core.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/malli/core.cljc b/src/malli/core.cljc index b5df14c7c..976f70feb 100644 --- a/src/malli/core.cljc +++ b/src/malli/core.cljc @@ -1297,7 +1297,7 @@ :else (let [size (when (and bounded (not (-safely-countable? x))) bounded)] (loop [acc acc, i 0, [x & xs :as ne] (seq x)] - (if (and ne (or (not size) (< i #?(:cljs (long size) + (if (and ne (or (not size) (< i #?(:cljs ^number size :default size)))) (cond-> (or (explainer x (conj in (fin i x)) acc) acc) xs (recur (inc i) xs)) acc)))))))