mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
Update core.dst error handler.
This commit is contained in:
parent
d95941597f
commit
f7e7b6333b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user