Would a PR along these lines be welcome, to bring cljs.js/eval
in line with cljs.js/eval-str
behaviour for catching evaluation errors? https://github.com/clojure/clojurescript/compare/master...mhuebert:eval-error-catch?expand=1
we don't take PRs yet o' course - but a patch in JIRA welcome yes
@mhuebert the ns merging stuff, yeah the standard REPL has a bunch of code to make that work (that new ns forms are merged w/ old ones)
probably that bit of annoying code hasn't been added to self-hosted
actually that's how it used to work
but it was superceded by ns*
I think this is it - https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/analyzer.cljc#L3227-L3240
but that's not the case you're talking about - specifically using ns
for this
I suppose if it works in CLJS it should work in self-host