mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
test: Fix shifted source positions after formatting
This commit is contained in:
parent
2f1b70a529
commit
ae0bb7d71c
39 changed files with 332 additions and 319 deletions
|
@ -1,51 +1,51 @@
|
|||
error:
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:9:3:
|
||||
8| in
|
||||
9| throwAfter 2
|
||||
| ^
|
||||
10|
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:6:1:
|
||||
5| in
|
||||
6| throwAfter 2
|
||||
| ^
|
||||
7|
|
||||
|
||||
… while calling 'throwAfter'
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:4:16:
|
||||
3| let
|
||||
4| throwAfter = n:
|
||||
4| throwAfter = n: if n > 0 then throwAfter (n - 1) else throw "Uh oh!";
|
||||
| ^
|
||||
5| if n > 0
|
||||
5| in
|
||||
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:6:10:
|
||||
5| if n > 0
|
||||
6| then throwAfter (n - 1)
|
||||
| ^
|
||||
7| else throw "Uh oh!";
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:4:33:
|
||||
3| let
|
||||
4| throwAfter = n: if n > 0 then throwAfter (n - 1) else throw "Uh oh!";
|
||||
| ^
|
||||
5| in
|
||||
|
||||
… while calling 'throwAfter'
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:4:16:
|
||||
3| let
|
||||
4| throwAfter = n:
|
||||
4| throwAfter = n: if n > 0 then throwAfter (n - 1) else throw "Uh oh!";
|
||||
| ^
|
||||
5| if n > 0
|
||||
5| in
|
||||
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:6:10:
|
||||
5| if n > 0
|
||||
6| then throwAfter (n - 1)
|
||||
| ^
|
||||
7| else throw "Uh oh!";
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:4:33:
|
||||
3| let
|
||||
4| throwAfter = n: if n > 0 then throwAfter (n - 1) else throw "Uh oh!";
|
||||
| ^
|
||||
5| in
|
||||
|
||||
… while calling 'throwAfter'
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:4:16:
|
||||
3| let
|
||||
4| throwAfter = n:
|
||||
4| throwAfter = n: if n > 0 then throwAfter (n - 1) else throw "Uh oh!";
|
||||
| ^
|
||||
5| if n > 0
|
||||
5| in
|
||||
|
||||
… while calling the 'throw' builtin
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:7:10:
|
||||
6| then throwAfter (n - 1)
|
||||
7| else throw "Uh oh!";
|
||||
| ^
|
||||
8| in
|
||||
at /pwd/lang/eval-fail-duplicate-traces.nix:4:57:
|
||||
3| let
|
||||
4| throwAfter = n: if n > 0 then throwAfter (n - 1) else throw "Uh oh!";
|
||||
| ^
|
||||
5| in
|
||||
|
||||
error: Uh oh!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue