piegames
cdda2454f6
The `show` functionality needs to be removed because it is deeply
flawed, and given that we already print position information in the
error message (which probably wasn't always the case in the past) the
assertion printing is redundant anyways.
Change-Id: I1f5e05ab73aaa0ec92994c2211463260fd374898
22 lines
534 B
Plaintext
22 lines
534 B
Plaintext
error:
|
|
… from call site
|
|
at /pwd/lang/eval-fail-assert.nix:4:1:
|
|
3| in
|
|
4| x "x"
|
|
| ^
|
|
5|
|
|
|
|
… while calling 'x'
|
|
at /pwd/lang/eval-fail-assert.nix:2:7:
|
|
1| let
|
|
2| x = arg: assert arg == "y"; 123;
|
|
| ^
|
|
3| in
|
|
|
|
error: assertion failed
|
|
at /pwd/lang/eval-fail-assert.nix:2:12:
|
|
1| let
|
|
2| x = arg: assert arg == "y"; 123;
|
|
| ^
|
|
3| in
|