mirror of
https://github.com/janet-lang/janet
synced 2025-01-23 13:46:52 +00:00
Be more specific about location of compile error (we only know the innermost tuple).
This commit is contained in:
parent
5afde3f6d4
commit
33862e2e7b
@ -980,7 +980,7 @@ onvalue."
|
||||
(def {:error err :error-line errl :error-column errc} res)
|
||||
(onerr where "compile"
|
||||
(if (< 0 errl)
|
||||
(string err " on line " errl ", column " errc)
|
||||
(string err " in form at line " errl ", column " errc)
|
||||
err)))))
|
||||
:a))
|
||||
(def res (resume f))
|
||||
|
Loading…
Reference in New Issue
Block a user