Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

Mike introduced a change to improve spec failure output in this commit: https://github.com/clojure/clojurescript/commit/59997385d85e7e1af1559d599eb51fdb1d7e93b1#diff-cba27ef5577ebe459e904b894c982c0bR89

This code depends on cljs.repl being loaded, this is not the case by default in a ClojureScript socket based io-prepl. If an error is thrown it will instead throw again because it can't find cljs.repl/err->str (the name will appear munged in the JavaScript stacktrace).

4 Answers

0 votes
by

Comment made by: olical

Should we ensure cljs.repl is loaded within this node prepl context? I'm also wondering why only node_repl.js exists, why isn't the same error handling included for browser / graal / nashorn REPLs? Maybe it is and I'm just missing something.

0 votes
by

Comment made by: mfikes

For the error handling in other REPLs CLJS-3011.

0 votes
by

Comment made by: mfikes

Similar to CLJS-3043

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-3022 (reported by olical)
...