1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

test: Fix shifted source positions after formatting

This commit is contained in:
Robert Hensing 2025-01-24 22:21:27 +01:00
parent 32aed360b8
commit f629d81df0
44 changed files with 400 additions and 385 deletions

View file

@ -1,28 +1,28 @@
error:
… while evaluating the attribute 'body'
at /pwd/lang/eval-fail-scope-5.nix:8:3:
7|
8| body = f {};
at /pwd/lang/eval-fail-scope-5.nix:13:3:
12|
13| body = f { };
| ^
9|
14|
… from call site
at /pwd/lang/eval-fail-scope-5.nix:8:10:
7|
8| body = f {};
at /pwd/lang/eval-fail-scope-5.nix:13:10:
12|
13| body = f { };
| ^
9|
14|
… while calling 'f'
at /pwd/lang/eval-fail-scope-5.nix:6:7:
5|
6| f = {x ? y, y ? x}: x + y;
| ^
7|
at /pwd/lang/eval-fail-scope-5.nix:7:5:
6| f =
7| {
| ^
8| x ? y,
error: infinite recursion encountered
at /pwd/lang/eval-fail-scope-5.nix:6:12:
5|
6| f = {x ? y, y ? x}: x + y;
| ^
7|
at /pwd/lang/eval-fail-scope-5.nix:8:11:
7| {
8| x ? y,
| ^
9| y ? x,