1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-04 02:53:33 +00:00
CC-Tweaked/projects/core
Jonathan Coates 5502412181
Improve display of runtime errors (#1320)
- Bump Cobalt to 0.6.0. We now track both line and column numbers of
   each bytecode instruction, allowing us to map an error to a concrete
   position.

 - `loadfile` (and similar functions) now use the full path, rather than
   the file name. Cobalt truncates this to 30 characters (rather than
   the previous 60) so this should be less noisy.

 - The shell, edit and Lua REPL now display the corresponding source
   code alongside an error.

   Note this is incredibly limited right now - it won't cope with errors
   which cross coroutine boundaries. Supporting this is on the roadmap,
   but requires some careful API design.
2023-02-09 20:53:50 +00:00
..
src Improve display of runtime errors (#1320) 2023-02-09 20:53:50 +00:00
build.gradle.kts Enforce version bounds for the Kotlin stdlib 2023-01-17 20:28:31 +00:00