why does cljs type
not take into account the :type
key of metadata?
ClojureScript 1.10.597
cljs.user=> (type (with-meta {} {:type 'Foo}))
cljs.core/PersistentArrayMap
cljs.user=>
Clojure 1.10.1
user=> (type (with-meta {} {:type 'Foo}))
Foo
user=> (doc type)
-------------------------
clojure.core/type
([x])
Returns the :type metadata of x, or its Class if none
cljs.user=> (doc type)
-------------------------
cljs.core/type
([x])
Return x's constructor.
A ticket is to be made afaictclj impl has an extra (or meta ...
compared to cljs, easy fix