MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Clojure/comments/96f37g/error_message_improvements_in_clojure_110/e407rii/?context=3
r/Clojure • u/xtreak • Aug 11 '18
41 comments sorted by
View all comments
4
It looks almost exactly the same. And I'd love to see a comparison to 1.8, before spec, and before the messages got worse.
22 u/alexdmiller Aug 11 '18 There are several important differences.execution phase is identified (reading, macroexpand, compile, etc)macroexpansion errors report the location in macro call rather than in the macro implcompile or macroexpand symbol is identifiedunuseful details are suppressed when not useful (cause class, source file in repl)spec errors are not spamming full ex-data into the messageYou can’t see it here but all compile errors also now carry ex-data which is available to tools.1.8 is almost the same as 1.9 for these as there is only 1 spec example here.
22
There are several important differences.
execution phase is identified (reading, macroexpand, compile, etc)
macroexpansion errors report the location in macro call rather than in the macro impl
compile or macroexpand symbol is identified
unuseful details are suppressed when not useful (cause class, source file in repl)
spec errors are not spamming full ex-data into the message
You can’t see it here but all compile errors also now carry ex-data which is available to tools.
1.8 is almost the same as 1.9 for these as there is only 1 spec example here.
4
u/clj_user Aug 11 '18
It looks almost exactly the same. And I'd love to see a comparison to 1.8, before spec, and before the messages got worse.