We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de15ba8 commit 84f5f61Copy full SHA for 84f5f61
src/clj/cljs/repl.clj
@@ -489,6 +489,8 @@
489
(assoc env :ns (ana/get-namespace ana/*cljs-ns*))
490
"<cljs repl>"
491
form
492
+ ;; the pluggability of :wrap is needed for older JS runtimes like Rhino
493
+ ;; where catching the error will swallow the original trace
494
((or (:wrap opts) wrap-fn) form)
495
opts)))
496
@@ -599,7 +601,7 @@
599
601
'load-file load-file-fn
600
602
'clojure.core/load-file load-file-fn
603
'load-namespace
- (fn self
604
+ (fn selfe
605
([repl-env env form]
606
(self env repl-env form nil))
607
([repl-env env [_ ns :as form] opts]
0 commit comments