2015-09-04 22:23:08 +02:00
|
|
|
error:
|
|
|
|
… from call site
|
2024-08-18 17:28:04 +02:00
|
|
|
at /pwd/lang/eval-fail-assert.nix:4:1:
|
|
|
|
3| in
|
|
|
|
4| x "x"
|
|
|
|
| ^
|
|
|
|
5|
|
2015-09-04 22:23:08 +02:00
|
|
|
|
|
|
|
… while calling 'x'
|
|
|
|
at /pwd/lang/eval-fail-assert.nix:2:7:
|
2024-08-18 17:28:04 +02:00
|
|
|
1| let
|
2015-09-04 22:23:08 +02:00
|
|
|
2| x = arg: assert arg == "y"; 123;
|
|
|
|
| ^
|
2024-08-18 17:28:04 +02:00
|
|
|
3| in
|
2015-09-04 22:23:08 +02:00
|
|
|
|
|
|
|
error: assertion '(arg == "y")' failed
|
|
|
|
at /pwd/lang/eval-fail-assert.nix:2:12:
|
2024-08-18 17:28:04 +02:00
|
|
|
1| let
|
2015-09-04 22:23:08 +02:00
|
|
|
2| x = arg: assert arg == "y"; 123;
|
|
|
|
| ^
|
2024-08-18 17:28:04 +02:00
|
|
|
3| in
|