Open
Description
If you have a namespace that does something like :refer-clojure :exclude [instance?]
and use def-map-type
in it,
(merge instance-of-my-map-type nil)
will break because
def-map-type
uses the def-abstract-type
AbstractMap
which defines cons
like this:
potemkin/src/potemkin/collections.clj
Lines 68 to 79 in f22d972
and the ultimate macroexpansion copies that call to instance?
directly, rather than qualifying it as clojure.core/instance?
.