1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-29 03:19:54 +00:00

Remove extra "compile error: " string.

This commit is contained in:
Calvin Rose 2019-02-23 15:38:49 -05:00
parent 115bc6140b
commit 327d2ed849

View File

@ -1496,7 +1496,7 @@ value, one key will be ignored."
(def {:error err :start start :end end :fiber errf} res)
(def msg
(if (<= 0 start)
(string "compile error: " err " at (" start ":" end ")")
(string err " at (" start ":" end ")")
err))
(on-compile-error msg errf where))))
:a))