Fork me on GitHub
#cljs-dev
<
2016-05-07
>
bhauman13:05:25

Started doing some work in figwheel on increasing the semantic value of ClojureScript compiler errors. Some of this work could should make it downstream I think. Pumping some more semantice data into the failed compile ex-info or having a top level catch that interprets and increases the semantic value of the ex-info based on what happened. Would be nice to have some semantic tags (keywords) on analysis, and reader errors so tools aren't parsing message strings.

mfikes14:05:28

Potential bug; asking for feedback here before filing JIRA. With :elide-asserts true, atom validators still work with :optimizations :none, but if you use :advanced they are disabled. I think users would expect consistency (and also perhaps consistency with Clojure, where *assert* doesn’t affect validators).

dnolen15:05:18

@mfikes patch welcome

mfikes15:05:25

@dnolen: do you feel atom valididators should always be enabled? (In other words, they are not like assertions)

dnolen15:05:51

@mfikes: well I just agree we should match Clojure here

richiardiandrea16:05:49

@bhauman Amazing! I would also summon Bozhidar for cider. The ClojureScript part is almost as great as Clojure's (they were working on adding the debug as last addition)