- Notifications
You must be signed in to change notification settings - Fork112
Open
Description
Expected behavior
cljr-add-stubs will succesfully complete areify for a Java class that has been:imported, i.e. the symbol is not package-qualified.
Actual behavior
Errors withCan't find interface IntConsumer
Steps to reproduce the problem
(:import java.util.function.IntConsumer)- type
(reify IntConsumer)in a clojure buffer - Place
POINToverIntConsumer - Invoke cljr-add-stubs normally (I use hydra)
clj-refactor.el version information
This repo @ master
Analysis
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 in9dcc50d
| (format"%s/%s" (cider-current-ns) interface))) |
which appears to mistakenly fillIntConsumer with the equivalent of(ns-name *ns*) instead of the actual java package.