Skip to content

repl: make last error available as `_error`

This is pretty useful when trying to inspect the last error caught by a REPL, and is made to be analogous to _, which contains the last successful completion value.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

repl

Merge request reports

Loading