nrepl/piggieback

core.typed error points to piggieback

abhi18av opened this issue · 2 comments

Hi @cemerick

I'm trying to use core.typed in a chestnut template application but everytime I start a repl, I run into this error

❯ lein repl
Error loading cemerick.piggieback: java.lang.IllegalStateException: var: #'clojure.tools.nrepl.middleware.interruptible-eval/queue-eval is not public, compiling:(cemerick/piggieback.clj:241:3)
Initializing core.typed ...
Building core.typed base environments ...
Finished building base environments
"Elapsed time: 3626.652751 msecs"
core.typed initialized.
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: cemerick.piggieback/wrap-cljs-repl in this context, compiling:(/private/var/folders/vt/9ywhthp94tz2b_23l97x9zcc0000gn/T/form-init7718817517084331251.clj:1:9552)

I'm not sure why does it lead me here, could you help me out a bit?

I've tried modifying my project.clj with
[org.clojure/core.typed "0.4.0" :exclusions [com.cemerick/piggieback]]
but, it doesn't make any difference.

The var in question was made public starting in nREPL 0.2.10:

clojure/tools.nrepl@3e06bf7

It looks like some other dependency is forcing an older version of nREPL.