We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cljr-add-stubs will succesfully complete a reify for a Java class that has been :imported, i.e. the symbol is not package-qualified.
cljr-add-stubs
reify
:import
Errors with Can't find interface IntConsumer
Can't find interface IntConsumer
(:import java.util.function.IntConsumer)
(reify IntConsumer)
POINT
IntConsumer
This repo @ master
When there's no prefix (which is the case with :imported classes), the following LOC is executed:
clj-refactor.el/clj-refactor.el
Line 3071 in 9dcc50d
which appears to mistakenly fill IntConsumer with the equivalent of (ns-name *ns*) instead of the actual java package.
(ns-name *ns*)
The text was updated successfully, but these errors were encountered:
Make cljr-add-stubs play better with :imported symbols
ba996bc
clojure-emacs#479
No branches or pull requests
Expected behavior
cljr-add-stubs
will succesfully complete areify
for a Java class that has been:import
ed, i.e. the symbol is not package-qualified.Actual behavior
Errors with
Can't find interface IntConsumer
Steps to reproduce the problem
(:import java.util.function.IntConsumer)
(reify IntConsumer)
in a clojure bufferPOINT
overIntConsumer
clj-refactor.el version information
This repo @ master
Analysis
When there's no prefix (which is the case with
:import
ed classes), the following LOC is executed:clj-refactor.el/clj-refactor.el
Line 3071 in 9dcc50d
which appears to mistakenly fill
IntConsumer
with the equivalent of(ns-name *ns*)
instead of the actual java package.The text was updated successfully, but these errors were encountered: