You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Classes which are imported by default (Long, Throwable, Exception) are available after undef-all and defining the namespace again.
For example:
(nsfoo.bar)
inc
;; => #function[clojure.core/inc]
Long
;; => java.lang.Long
Actual behavior
I cider-undef-all from Emacs and evaluate ns form. All clojure.core functinons are imported to namespace (which is correct), but java classes (Long, Throwable, Exception) are not available. This is unfortunate as Exception is usually used in (catch Exception ... ) blocks etc.
(nsfoo.bar)
inc
;; => #function[clojure.core/inc]
Long
;; => Exception unable to resolve symbol Long in this context
Environment & Version information
cider-nrepl version
cider-nrepl. 0.28.3
nrepl 0.9.0
Cider 1.4.0
Java version
(System/getProperty"java.version")
"11.0.15"
Operating system
Debian Sid
The text was updated successfully, but these errors were encountered:
Expected behavior
Classes which are imported by default (Long, Throwable, Exception) are available after undef-all and defining the namespace again.
For example:
Actual behavior
I
cider-undef-all
from Emacs and evaluatens
form. All clojure.core functinons are imported to namespace (which is correct), but java classes (Long, Throwable, Exception) are not available. This is unfortunate asException
is usually used in(catch Exception ... )
blocks etc.Environment & Version information
cider-nrepl version
cider-nrepl. 0.28.3
nrepl 0.9.0
Cider 1.4.0
Java version
Operating system
Debian Sid
The text was updated successfully, but these errors were encountered: