From 2656849fd582ccce9b16ecfcdfe7a99e9e996884 Mon Sep 17 00:00:00 2001 From: Jim Berlage Date: Thu, 13 Aug 2020 19:28:26 -0500 Subject: [PATCH] Update renamed clojurescript fn A [change to cljs.core][1] renamed the `warn-and-update-protocol` fn, which om relies on via a macro. The clojurescript commit simply changes the name to `update-protocol-var`, so this commit in om does the same. [1]: https://github.com/clojure/clojurescript/commit/13fde33d737b0d47bdaaf102ed8e1c49342ade3c --- src/main/om/next.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/om/next.cljc b/src/main/om/next.cljc index 71b7f943..9de8b636 100644 --- a/src/main/om/next.cljc +++ b/src/main/om/next.cljc @@ -284,7 +284,7 @@ #?(:clj (defn- proto-assign-impls [env resolve type-sym type [p sigs]] - (#'cljs.core/warn-and-update-protocol p type env) + (#'cljs.core/update-protocol-var p type env) (let [psym (resolve p) pprefix (#'cljs.core/protocol-prefix psym) skip-flag (set (-> type-sym meta :skip-protocol-flag))