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

0 votes
in ClojureScript by

CLJS-2024 didn't fix this, which still has issues under Node.js

3 Answers

0 votes
by

Comment made by: anmonteiro

The attached patch removes the Node.js special case in find-ns-obj that uses eval, given that under simple optimizations the namespaces are in the goog.global scope.

The call to js/eval is no longer needed and was causing more problems that it solved.

Here's some more context on those problems: https://github.com/anmonteiro/lumo/issues/301

0 votes
by

Comment made by: anmonteiro

Removing the patch as it shows some regressions.

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