Files
lix/tests/functional/repl_characterization/data/repl_overlays_error.test
T
2b22dae1ba lixexpr: Declutter error traces
Now that we can correctly point to all expressions, we can remove
redundant intermediate traces to reduce clutter.

Co-authored-by: eldritch horrors <pennae@lix.systems>
Co-authored-by: Raito Bezarius <raito@lix.systems>
Change-Id: I3e9d7c1c7a6599a8e68302448bbb961d051002b7
2025-04-24 20:44:57 +02:00

23 lines
724 B
Plaintext

`repl-overlays` that fail to evaluate should error.
@args --repl-overlays
@args ${PWD}/extra_data/repl-overlay-fail.nix
@should-start false
error:
… while evaluating variable final
at «string»:6:1:
5| in
6| final
| ^
7|
… while calling the 'foldl'' builtin
at «string»:4:11:
3| let
4| final = builtins.foldl' (prev: function: prev // (function info final prev)) initial functions;
| ^
5| in
(stack trace truncated; use '--show-trace' to show the full trace)
error: evaluation aborted with the following error message: 'uh oh!'