Open ghost opened 8 years ago
When inserting a deliberate error into a Clojure file (a misplaced ]), Atom Linter Eastwood 1.1.0 (with Atom 1.9.8) does not report the resulting exception:
]
# lein eastwood == Eastwood 0.2.3 Clojure 1.8.0 JVM 1.8.0_102 == Linting web.ui == Linting failed: ExceptionInfo Unmatched delimiter ] clojure.core/ex-info (core.clj:4617) clojure.core/ex-info (core.clj:4617) eastwood.copieddeps.dep10.clojure.tools.reader.reader-types/reader-error (reader_types.clj:330) eastwood.copieddeps.dep10.clojure.tools.reader.reader-types/reader-error (reader_types.clj:326) eastwood.copieddeps.dep10.clojure.tools.reader/read-unmatched-delimiter (reader.clj:72) eastwood.copieddeps.dep10.clojure.tools.reader/read-unmatched-delimiter (reader.clj:70) eastwood.copieddeps.dep10.clojure.tools.reader/read* (reader.clj:878) eastwood.copieddeps.dep10.clojure.tools.reader/read* (reader.clj:859) eastwood.copieddeps.dep10.clojure.tools.reader/read (reader.clj:928) eastwood.copieddeps.dep10.clojure.tools.reader/read (reader.clj:904) eastwood.analyze-ns/analyze-file (analyze_ns.clj:278) eastwood.analyze-ns/analyze-file (analyze_ns.clj:219) eastwood.analyze-ns/analyze-ns (analyze_ns.clj:337) eastwood.analyze-ns/analyze-ns (analyze_ns.clj:315) eastwood.lint/lint-ns (lint.clj:600) eastwood.lint/lint-ns (lint.clj:592) eastwood.lint/eastwood-core/fn--6582 (lint.clj:1077) eastwood.lint/eastwood-core (lint.clj:1076) eastwood.lint/eastwood-core (lint.clj:993) eastwood.lint/eastwood (lint.clj:1194) eastwood.lint/eastwood (lint.clj:1175) eastwood.lint/eastwood-from-cmdline (lint.clj:1207) eastwood.lint/eastwood-from-cmdline (lint.clj:1206) clojure.lang.Var.invoke (Var.java:379) eastwood.versioncheck/run-eastwood (versioncheck.clj:15) eastwood.versioncheck/run-eastwood (versioncheck.clj:9) user/eval21 (form-init953042506088910747.clj:1) user/eval21 (form-init953042506088910747.clj:1) clojure.lang.Compiler.eval (Compiler.java:6927) clojure.lang.Compiler.eval (Compiler.java:6917) clojure.lang.Compiler.load (Compiler.java:7379) clojure.lang.Compiler.loadFile (Compiler.java:7317) clojure.main/load-script (main.clj:275) clojure.main/init-opt (main.clj:277) clojure.main/init-opt (main.clj:277) clojure.main/initialize (main.clj:308) clojure.main/null-opt (main.clj:342) clojure.main/null-opt (main.clj:339) clojure.main/main (main.clj:421) clojure.main/main (main.clj:384) clojure.lang.Var.invoke (Var.java:383) clojure.lang.Var.applyTo (Var.java:700) clojure.main.main (main.java:37) Exception thrown while analyzing last namespace. == Warnings: 0 (not including reflection warnings) Exceptions thrown: 0
Maybe related to jonase/eastwood#203?
When inserting a deliberate error into a Clojure file (a misplaced
]
), Atom Linter Eastwood 1.1.0 (with Atom 1.9.8) does not report the resulting exception: