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