diff --git a/src/core/core.janet b/src/core/core.janet index 96df2e0f..f740699b 100644 --- a/src/core/core.janet +++ b/src/core/core.janet @@ -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))