This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-17
Channels
- # aleph (3)
- # announcements (12)
- # beginners (80)
- # boot (3)
- # braveandtrue (16)
- # calva (3)
- # cider (82)
- # clojure (100)
- # clojure-art (3)
- # clojure-dev (79)
- # clojure-estonia (1)
- # clojure-europe (4)
- # clojure-finland (15)
- # clojure-indonesia (1)
- # clojure-italy (20)
- # clojure-nl (4)
- # clojure-spec (24)
- # clojure-sweden (2)
- # clojure-switzerland (1)
- # clojure-uk (99)
- # clojurescript (145)
- # cursive (8)
- # data-science (7)
- # datomic (26)
- # emacs (4)
- # figwheel-main (20)
- # fulcro (8)
- # graphql (3)
- # hoplon (2)
- # jobs (1)
- # kaocha (5)
- # leiningen (2)
- # liberator (19)
- # off-topic (16)
- # pathom (9)
- # perun (1)
- # portkey (2)
- # re-frame (17)
- # reitit (1)
- # shadow-cljs (26)
- # spacemacs (7)
- # vim (49)
looks like vim fireplace on clojure 1.10 just reports an obscure Syntax error reading source at [source]
error when code refers to a symbol that doesn't exist. wonder how to get better errors?
@devth do you have the latest cider-nrepl? I had odd behavior till I updated to "0.19.0"
But it doesn't offer cpp, but has a command for getting the stack of the last exception
You use fireplace as normal, with cpp. But then replant has a command for more detail
@devth do you have a code snippet that causes the obscure error? I'm curious because fireplace has worked well for me with 1.10.0
i think anything that tries to reference a var that doesn't exist. so:
(let [foo 1]
bar)
|| Syntax error compiling at (yetibot/core/webapp/views/common.clj:43:1).
|| clojure.lang.Compiler.analyze(Compiler.java:6808)
|| clojure.lang.Compiler.analyze(Compiler.java:6745)
|| clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:6120)
|| clojure.lang.Compiler$LetExpr$Parser.parse(Compiler.java:6436)
|| clojure.lang.Compiler.analyzeSeq(Compiler.java:7106)
... huge stack trace
when I cpp that, I get this:
Syntax error compiling at (game.clj:28:1).
Unable to resolve symbol: bar in this context
Press ENTER or type command to continue
java 11 causes this on all repl startups now:
WARNING: An illegal reflective access operation has occurre
d
WARNING: Illegal reflective access by mranderson048.orchard
.v0v3v0.dynapath.v0v2v5.dynapath.defaults$eval2258$fn__2259
to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers
of
faults$eval2258$fn__2259
WARNING: Use --illegal-access=warn to enable warnings of fu
rther illegal reflective access operations
WARNING: All illegal access operations will be denied in a
future release
Warning: implicit middleware found: refactor-nrepl.plugin/m
iddleware
Please declare all middleware in :middleware as implicit lo
ading is deprecated.
Warning: implicit middleware found: cider-nrepl.plugin/midd
leware
Please declare all middleware in :middleware as implicit lo
ading is deprecated.
Warning: implicit hook found: lein-environ.plugin/hooks
Hooks are deprecated and will be removed in a future versio
n.
Warning: implicit hook found: lein-npm.plugin/hooks
Hooks are deprecated and will be removed in a future versio
n.