1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

fix: Update shifted source positions after formatting

Carefully reviewed...
This commit is contained in:
Robert Hensing 2025-01-24 14:19:09 +01:00
parent 96e550efc5
commit b04077c0ec
44 changed files with 400 additions and 385 deletions

View file

@ -1,30 +1,30 @@
error:
… while evaluating the attribute 'body'
at /pwd/lang/eval-fail-assert.nix:4:3:
3|
4| body = x "x";
at /pwd/lang/eval-fail-assert.nix:7:3:
6|
7| body = x "x";
| ^
5| }
8| }
… from call site
at /pwd/lang/eval-fail-assert.nix:4:10:
3|
4| body = x "x";
at /pwd/lang/eval-fail-assert.nix:7:10:
6|
7| body = x "x";
| ^
5| }
8| }
… while calling 'x'
at /pwd/lang/eval-fail-assert.nix:2:7:
1| let {
2| x = arg: assert arg == "y"; 123;
| ^
3|
at /pwd/lang/eval-fail-assert.nix:3:5:
2| x =
3| arg:
| ^
4| assert arg == "y";
… while evaluating the condition of the assertion '(arg == "y")'
at /pwd/lang/eval-fail-assert.nix:2:12:
1| let {
2| x = arg: assert arg == "y"; 123;
| ^
3|
at /pwd/lang/eval-fail-assert.nix:4:5:
3| arg:
4| assert arg == "y";
| ^
5| 123;
error: string '"x"' is not equal to string '"y"'