cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
588 stars 7 forks source link

Generating Stubs should use Project's Clojure Version #1503

Open guv opened 8 years ago

guv commented 8 years ago

The Clojure process that generates the stubs for namespaces seems to use a newer version of Clojure than my project does (project: 1.6.0). Hence, I get the following error message:

Error generating stubs for module MYPROJECT: WARNING: record? already refers to: #'clojure.core/record? in namespace: midje.clojure.core, being replaced by: #'midje.clojure.core/record? WARNING: record? already refers to: #'clojure.core/record? in namespace: midje.config, being replaced by: #'midje.clojure.core/record? WARNING: record? already refers to: #'clojure.core/record? in namespace: midje.emission.levels, being replaced by: #'midje.clojure.core/record? WARNING: record? already refers to: #'clojure.core/record? in namespace: midje.util.pile, being replaced by: #'midje.clojure.core/record? WARNING: record? already refers to: #'clojure.core/record? in namespace: midje.emission.api, being replaced by: #'midje.clojure.core/record? WARNING: record? already refers to: #'clojure.core/record? in namespace: midje.emission.plugins.util, being replaced by: #'midje.clojure.core/record?

It should use the Clojure version specified in my project.clj, right?

cursive-ide commented 8 years ago

I can't reproduce this, and in recent Cursive EAP versions at least, this is definitely true. I'm going to close this, feel free to re-open if you believe this is still a problem.