File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 489
489
(ana/analyze-file src opts)
490
490
(-evaluate repl-env f 1 (cljsc/add-dep-string opts compiled))
491
491
(-evaluate repl-env f 1 (cljsc/src-file->goog-require src)))
492
- (binding [ana/*cljs-ns* ' cljs.user ]
492
+ (binding [ana/*cljs-ns* ana/* cljs-ns* ]
493
493
(let [res (if (= File/separatorChar (first f)) f (io/resource f))]
494
494
(assert res (str " Can't find " f " in classpath" ))
495
495
(load-stream repl-env f res))))))
684
684
#(prn " Error evaluating:" form :as js)
685
685
(constantly nil ))
686
686
opts)))
687
- (binding [*out* *err*]
688
- (.printStackTrace e))))
687
+ (.printStackTrace e *err*)))
689
688
690
689
(defn repl*
691
690
[repl-env {:keys [init need-prompt quit-prompt prompt flush read eval print caught reader
731
730
done? (atom false )]
732
731
(env/with-compiler-env (or compiler-env (env/default-compiler-env opts ))
733
732
(binding [*err* (if bind-err *out* *err*)
734
- ana/*cljs-ns* ' cljs.user
733
+ ana/*cljs-ns* ana/* cljs-ns*
735
734
*cljs-verbose* repl-verbose
736
735
ana/*cljs-warnings*
737
736
(assoc ana/*cljs-warnings*
You can’t perform that action at this time.
0 commit comments