Fork me on GitHub
#vim
<
2019-01-18
>
hugo10:01:42

Also getting that problem with fireplace and cpp not showing useful syntax errors. I'm using Clojure 1.10.0, Java 8 and cider-nrepl 0.20.0

hugo10:01:58

Just looking at the exception information if I try to load the offending namespace in the repl the format is different at the top between Clojure 1.10.0 and 1.9.0

hugo10:01:16

Clojure 1.10.0:

#error {
 :cause "EOF while reading, starting at line 32"
 :via
 [{:type clojure.lang.Compiler$CompilerException
   :message "Syntax error reading source at (monitor/trigger.cljc:68:1)."
   :data #:clojure.error{:phase :read-source, :line 68, :column 1, :source "monitor/trigger.cljc"}
   :at [clojure.lang.Compiler load "Compiler.java" 7642]}
  {:type java.lang.RuntimeException
   :message "EOF while reading, starting at line 32"
   :at [clojure.lang.Util runtimeException "Util.java" 221]}]
...

hugo10:01:45

1.9.0:

#error {
 :cause "EOF while reading, starting at line 32"
 :via
 [{:type clojure.lang.Compiler$CompilerException
   :message "java.lang.RuntimeException: EOF while reading, starting at line 32, compiling:(monitor/trigger.cljc:68:1)"
   :at [clojure.lang.Compiler load "Compiler.java" 7521]}
  {:type java.lang.RuntimeException
   :message "EOF while reading, starting at line 32"
   :at [clojure.lang.Util runtimeException "Util.java" 221]}]
...

hugo10:01:48

Presumably fireplace is looking at the first message in that vector of Exceptions

5
nate18:01:40

could it be due to an old version of lein?