From a674b3ab940ed2c79ad5bcf3b0d339607e00bb8d Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 9 Dec 2020 14:12:38 +0100 Subject: [PATCH] :bug: Fix unexpected exception on faster merge function. --- common/app/common/data.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/common/data.cljc b/common/app/common/data.cljc index a52991a68..99a643129 100644 --- a/common/app/common/data.cljc +++ b/common/app/common/data.cljc @@ -213,7 +213,7 @@ (defn merge "A faster merge." [& maps] - (loop [res (transient (first maps)) + (loop [res (transient (or (first maps) {})) maps (next maps)] (if (nil? maps) (persistent! res)