Fork me on GitHub
#cider
<
2021-08-31
>
jumar10:08:42

I'm not sure what's going on but recently cider-jack-in-clj started to fail for me:

Caused by: Syntax error macroexpanding clojure.core/defn at (clojure/spec/alpha.clj:85:1).
	at clojure.lang.Compiler.checkSpecs(Compiler.java:6972)
	at clojure.lang.Compiler.macroexpand1(Compiler.java:6988)
	at clojure.lang.Compiler.macroexpand(Compiler.java:7075)
...
	at clojure.main$loading__6721__auto____8974.invoke(main.clj:11)
	at clojure.main__init.load(Unknown Source)
	at clojure.main__init.<clinit>(Unknown Source)
	... 55 more
Caused by: java.lang.Exception: #object[clojure.spec.alpha$and_spec_impl$reify__1057 0x459f703f "clojure.spec.alpha$and_spec_impl$reify__1057@459f703f"] is not a fn, expected predicate fn
lein repl works fine

vemv10:08:24

sounds like -Dclojure.spec.skip-macros=false would be a temp workaround

jumar10:08:35

Looks like cider update + spacemacs develop branch update helped, at least for one of my projects.

👍 1
jumar10:08:52

Hmm, but I still get the same error for another one 😮

jumar10:08:26

And that one fails with lein repl too so that makes more sense 🙂

bozhidar17:08:49

I can't think of any recent change that might have caused this.

fedreg21:08:13

Hi all, can someone share an example of how to customize the cider debugger print length? This doesn’t seem to work and can’t tell what the exact value I need to set:

(setq cider-print-options '(("length" 500)))
I believe cider-debug-print-length is deprecated? Thx!!!