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:
parent
115bc6140b
commit
327d2ed849
@ -1496,7 +1496,7 @@ value, one key will be ignored."
|
|||||||
(def {:error err :start start :end end :fiber errf} res)
|
(def {:error err :start start :end end :fiber errf} res)
|
||||||
(def msg
|
(def msg
|
||||||
(if (<= 0 start)
|
(if (<= 0 start)
|
||||||
(string "compile error: " err " at (" start ":" end ")")
|
(string err " at (" start ":" end ")")
|
||||||
err))
|
err))
|
||||||
(on-compile-error msg errf where))))
|
(on-compile-error msg errf where))))
|
||||||
:a))
|
:a))
|
||||||
|
Loading…
Reference in New Issue
Block a user