Closed minhtuannguyen closed 5 years ago
i completely agree. I'll try to find some time to look I to this. Have a few other changes queued up right now as well.
Any more details on your environment? Clojure versions etc.
I haven't dug into it but I also recently noticed bad error messages when I used to expect better ones and am wondering if they changed when I upgraded my projects to clojure 1.10
On Fri, Mar 15, 2019, 10:32 Minh Tuan Nguyen notifications@github.com wrote:
Currently the error message looks like this:
Error refreshing environment: Syntax error compiling at (a/b/c/namespace.clj:80:7).
It's useful to add the error cause why is failed. i.e
Error refreshing environment: Syntax error compiling at (a/b/c/namespace.clj:80:7). java.lang.RuntimeException: Unable to resolve symbol: x in this context
You can view, comment on, or merge this pull request online at:
https://github.com/jakemcc/lein-test-refresh/pull/81 Commit Summary
- add more details about the error if the compilation failed
File Changes
- M test-refresh/src/com/jakemccrary/test_refresh.clj https://github.com/jakemcc/lein-test-refresh/pull/81/files#diff-0 (5)
Patch Links:
- https://github.com/jakemcc/lein-test-refresh/pull/81.patch
- https://github.com/jakemcc/lein-test-refresh/pull/81.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jakemcc/lein-test-refresh/pull/81, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHzpthRgE_QCGugkcFLTNpFhY9JZ7acks5vW70XgaJpZM4b2uzc .
Ha, didn't notice this was a PR in my email and thought it was just an issue. Should be easy to get this in. Thanks.
On Mon, Mar 18, 2019, 17:26 Jake McCrary jake@jakemccrary.com wrote:
i completely agree. I'll try to find some time to look I to this. Have a few other changes queued up right now as well.
Any more details on your environment? Clojure versions etc.
I haven't dug into it but I also recently noticed bad error messages when I used to expect better ones and am wondering if they changed when I upgraded my projects to clojure 1.10
On Fri, Mar 15, 2019, 10:32 Minh Tuan Nguyen notifications@github.com wrote:
Currently the error message looks like this:
Error refreshing environment: Syntax error compiling at (a/b/c/namespace.clj:80:7).
It's useful to add the error cause why is failed. i.e
Error refreshing environment: Syntax error compiling at (a/b/c/namespace.clj:80:7). java.lang.RuntimeException: Unable to resolve symbol: x in this context
You can view, comment on, or merge this pull request online at:
https://github.com/jakemcc/lein-test-refresh/pull/81 Commit Summary
- add more details about the error if the compilation failed
File Changes
- M test-refresh/src/com/jakemccrary/test_refresh.clj https://github.com/jakemcc/lein-test-refresh/pull/81/files#diff-0 (5)
Patch Links:
- https://github.com/jakemcc/lein-test-refresh/pull/81.patch
- https://github.com/jakemcc/lein-test-refresh/pull/81.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jakemcc/lein-test-refresh/pull/81, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHzpthRgE_QCGugkcFLTNpFhY9JZ7acks5vW70XgaJpZM4b2uzc .
Thank you for your reply. My setup is clojure 1.11 with Leiningen 2.9.1
I also noticed that the error message got bad since I upgrade to clojure 1.9
Released in version 0.24.0. Thanks for the contribution
Currently the error message looks like this:
Error refreshing environment: Syntax error compiling at (a/b/c/namespace.clj:80:7).
It's useful to add the error cause why is failed. i.e
Error refreshing environment: Syntax error compiling at (a/b/c/namespace.clj:80:7). java.lang.RuntimeException: Unable to resolve symbol: x in this context