def-map-type
breaks in namespaces that shadow core Clojure methods like instance?
#70
Labels
def-map-type
breaks in namespaces that shadow core Clojure methods like instance?
#70
If you have a namespace that does something like
:refer-clojure :exclude [instance?]
and usedef-map-type
in it,will break because
def-map-type
uses thedef-abstract-type
AbstractMap
which definescons
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 asclojure.core/instance?
.The text was updated successfully, but these errors were encountered: