-
-
Notifications
You must be signed in to change notification settings - Fork 648
Description
Expected behavior
Under 0.12.0 (and earlier), I could specify the clojure version in one library and then have other libraries/apps that depend on that one so I don't have to keep all the common library versions updated in various projects that use them.
This still seems to work fine under lein repl
.
Actual behavior
cider-jack-in results in a stack trace that basically starts with an error about nrepl-server-sentinel and "cider.nrepl.middleware.version: Too many arguments to def."
There are a bunch of "Unable to resolve symbol: some-> in this context" java.lang.Exceptions.
And then it ends with a "java.lang.Exception: Unable to resolve symbol: some? in this context."
The full stack trace is available at https://github.com/jimrthy/clojure-introduction/blob/cider/transitive-clojure-version/cider-transitive-version/README.md
Steps to reproduce the problem
- git clone https://github.com/jimrthy/clojure-introduction
- git checkout cider/transitive-clojure-version
- cd cider-transitive-version
- lein install
- cd ../usage
- lein deps :tree
- Verify that it inherits org.clojure.clojure 1.9.0-alpha10 from cider-transitive-version
- Verify that lein repl starts correctly (I seem to be able to cider-connect to this, so I think I have a work-around)
- Try to cider-jack-in to the usage project, see the stack trace
- Uncomment the clojure dependency in usage/project.clj
- Verify that cider-jack-in works correctly
Environment & Version information
CIDER version information
CIDER 0.13.0 (California), nREPL 0.2.12
Clojure 1.9.0-alpha10, Java 1.7.0_79
Lein version
2.6.1
Emacs version
GNU Emacs 24.3.1 (x86_64-px-linux-gnu, GTK+ Version 3.10.7) of 2014-03-07 on lamiak, modified by Debian
Operating system
Ubuntu 14.04.3 LTS