aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-scope-5.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-fail-scope-5.err.exp')
-rw-r--r--tests/functional/lang/eval-fail-scope-5.err.exp33
1 files changed, 13 insertions, 20 deletions
diff --git a/tests/functional/lang/eval-fail-scope-5.err.exp b/tests/functional/lang/eval-fail-scope-5.err.exp
index b0b05cad7..4dcfb5321 100644
--- a/tests/functional/lang/eval-fail-scope-5.err.exp
+++ b/tests/functional/lang/eval-fail-scope-5.err.exp
@@ -1,28 +1,21 @@
error:
- … while evaluating the attribute 'body'
- at /pwd/lang/eval-fail-scope-5.nix:8:3:
- 7|
- 8| body = f {};
- | ^
- 9|
-
… from call site
- at /pwd/lang/eval-fail-scope-5.nix:8:10:
- 7|
- 8| body = f {};
- | ^
- 9|
+ at /pwd/lang/eval-fail-scope-5.nix:7:3:
+ 6| in
+ 7| f {}
+ | ^
+ 8|
… while calling 'f'
- at /pwd/lang/eval-fail-scope-5.nix:6:7:
- 5|
- 6| f = {x ? y, y ? x}: x + y;
+ at /pwd/lang/eval-fail-scope-5.nix:5:7:
+ 4|
+ 5| f = {x ? y, y ? x}: x + y;
| ^
- 7|
+ 6| in
error: infinite recursion encountered
- at /pwd/lang/eval-fail-scope-5.nix:6:12:
- 5|
- 6| f = {x ? y, y ? x}: x + y;
+ at /pwd/lang/eval-fail-scope-5.nix:5:12:
+ 4|
+ 5| f = {x ? y, y ? x}: x + y;
| ^
- 7|
+ 6| in