Closed vemv closed 11 months ago
Using (cljr--call-middleware-to-resolve-missing "Thread") returns the following for me:
(cljr--call-middleware-to-resolve-missing "Thread")
(#s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data (:name sun\.jvm\.hotspot\.runtime\.Thread :type :ns)) #s(hash-table size 2 test equal rehash-size 1.5 rehash-threshold 0.8125 data (:name java\.lang\.Thread :type :class)))
...that :type :ns should be :type :class instead, otherwise clj-refactor will try to :require the class.
:type :ns
:type :class
:require
I'd say that this example shows two issues at once:
resource
sun.jvm.hotspot.runtime.Thread
import
Using
(cljr--call-middleware-to-resolve-missing "Thread")
returns the following for me:...that
:type :ns
should be:type :class
instead, otherwise clj-refactor will try to:require
the class.I'd say that this example shows two issues at once:
:type :ns
too laxly as a fallbackresource
sun.jvm.hotspot.runtime.Thread
cannot beimport
ed