Files
lix/tests/functional2/repl_characterization/builtins/builtins_warn.md
T
rootile ab149a6cd8 tests(f2/repl): migrate builtins_warn.test
Change-Id: Iaed1fb8651840b855ec7bdf5087681dc5eb9d54c
2026-06-09 19:40:07 +02:00

567 B

args
args
--debugger
--option
debugger-on-warn
true

Enter debugger with debugger-on-warn set.

let inspect = v: builtins.warn "inspect is deprecated" (throw "this happens after"); in inspect { }
warning: inspect is deprecated
warning: builtins.warn reached

Added 2 variables.

Continue after the warn then breaks on the throw

:c
error: this happens after

Added 2 variables.

Finally, continue after that error exits and prints the error

:c
error: this happens after