1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 08:20:27 +00:00

Update core.dst error handler.

This commit is contained in:
Calvin Rose 2018-08-17 21:22:46 -04:00
parent d95941597f
commit f7e7b6333b

View File

@ -1080,7 +1080,7 @@
env) env)
(defn default-error-handler (defn default-error-handler
[source t x f] @[source t x f]
(file.write stdout (string t " error in " source ": ")) (file.write stdout (string t " error in " source ": "))
(if (bytes? x) (if (bytes? x)
(do (file.write stdout x) (do (file.write stdout x)