Fix #1322: improve error location

This commit is contained in:
Michiel Borkent 2022-09-02 21:15:27 +02:00
parent c77944fad7
commit 6e92c99f31
2 changed files with 3 additions and 3 deletions

2
sci

@ -1 +1 @@
Subproject commit 73bd948625973ad383d512750280c297436afb2c Subproject commit a75de7d92fbe590f72f22cfb43cb1a21021eb207

View file

@ -944,8 +944,8 @@ Use bb run --help to show this help output.
;; execute code ;; execute code
(sci/binding [sci/file abs-path] (sci/binding [sci/file abs-path]
(try (try
; when evaluating expression(s), add in repl-requires so things like ;; when evaluating expression(s), add in repl-requires so things like
; pprint and dir are available ;; pprint and dir are available
(sci/eval-form sci-ctx `(apply require (quote ~clojure-main/repl-requires))) (sci/eval-form sci-ctx `(apply require (quote ~clojure-main/repl-requires)))
(loop [] (loop []
(let [in (read-next *in*)] (let [in (read-next *in*)]