shadow-cljs

p-himik 2026-05-17T08:03:05.442019Z

Huh, looks like somehow https://clojure.atlassian.net/browse/CLJS-2292 is not a part of shadow-cljs (3.4.10):

;; vanilla
ClojureScript 1.12.145
cljs.user=> (ns foo.core (:refer-clojure :rename {map clj-map}))
nil
foo.core=> (map inc [1 2])
WARNING: Use of undeclared Var foo.core/map at line 1 <cljs repl>
Execution error (TypeError) at (<cljs repl>:1).
Cannot read properties of undefined (reading 'call')

foo.core=> (def map {:a :b})
#'foo.core/map
;; shadow-cljs
cljs.user=> (ns foo.core (:refer-clojure :rename {map clj-map}))
nil
foo.core=> (map inc [1 2])
(2 3)
foo.core=> (def map {:a :b})
------ WARNING - :redef --------------------------------------------------------
 Resource: <eval>:1:1
 map already refers to: cljs.core/map being replaced by: foo.core/map
--------------------------------------------------------------------------------

foo.core=> *clojurescript-version*
"1.12.145"

p-himik 2026-05-18T09:46:31.089519Z

Awesome, thanks!

thheller 2026-05-18T05:36:59.091849Z

shadow-cljs has its own ns form parser, so it didn't end up getting the fix automatically. I just missed it. Fixed in 3.4.11.