mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +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,64 +1,64 @@
|
|||
error:
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:36:3:
|
||||
35| in
|
||||
36| throwAfterA true 10
|
||||
| ^
|
||||
37|
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:40:1:
|
||||
39| in
|
||||
40| throwAfterA true 10
|
||||
| ^
|
||||
41|
|
||||
|
||||
… while calling 'throwAfterA'
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:29:26:
|
||||
28|
|
||||
29| throwAfterA = recurse: n:
|
||||
| ^
|
||||
30| if n > 0
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:32:14:
|
||||
31| throwAfterA =
|
||||
32| recurse: n:
|
||||
| ^
|
||||
33| if n > 0 then
|
||||
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:31:10:
|
||||
30| if n > 0
|
||||
31| then throwAfterA recurse (n - 1)
|
||||
| ^
|
||||
32| else if recurse
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:34:7:
|
||||
33| if n > 0 then
|
||||
34| throwAfterA recurse (n - 1)
|
||||
| ^
|
||||
35| else if recurse then
|
||||
|
||||
(19 duplicate frames omitted)
|
||||
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:33:10:
|
||||
32| else if recurse
|
||||
33| then throwAfterB true 10
|
||||
| ^
|
||||
34| else throw "Uh oh!";
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:36:7:
|
||||
35| else if recurse then
|
||||
36| throwAfterB true 10
|
||||
| ^
|
||||
37| else
|
||||
|
||||
… while calling 'throwAfterB'
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:22:26:
|
||||
21| let
|
||||
22| throwAfterB = recurse: n:
|
||||
| ^
|
||||
23| if n > 0
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:23:14:
|
||||
22| throwAfterB =
|
||||
23| recurse: n:
|
||||
| ^
|
||||
24| if n > 0 then
|
||||
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:24:10:
|
||||
23| if n > 0
|
||||
24| then throwAfterB recurse (n - 1)
|
||||
| ^
|
||||
25| else if recurse
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:25:7:
|
||||
24| if n > 0 then
|
||||
25| throwAfterB recurse (n - 1)
|
||||
| ^
|
||||
26| else if recurse then
|
||||
|
||||
(19 duplicate frames omitted)
|
||||
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:26:10:
|
||||
25| else if recurse
|
||||
26| then throwAfterA false 10
|
||||
| ^
|
||||
27| else throw "Uh oh!";
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:27:7:
|
||||
26| else if recurse then
|
||||
27| throwAfterA false 10
|
||||
| ^
|
||||
28| else
|
||||
|
||||
(21 duplicate frames omitted)
|
||||
|
||||
… while calling the 'throw' builtin
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:34:10:
|
||||
33| then throwAfterB true 10
|
||||
34| else throw "Uh oh!";
|
||||
| ^
|
||||
35| in
|
||||
at /pwd/lang/eval-fail-mutual-recursion.nix:38:7:
|
||||
37| else
|
||||
38| throw "Uh oh!";
|
||||
| ^
|
||||
39| in
|
||||
|
||||
error: Uh oh!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue