aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-scope-5.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-scope-5.err.exp')
-rw-r--r--test/testdata/eval-fail-scope-5.err.exp28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-scope-5.err.exp b/test/testdata/eval-fail-scope-5.err.exp
new file mode 100644
index 0000000..b0b05ca
--- /dev/null
+++ b/test/testdata/eval-fail-scope-5.err.exp
@@ -0,0 +1,28 @@
1error:
2 … while evaluating the attribute 'body'
3 at /pwd/lang/eval-fail-scope-5.nix:8:3:
4 7|
5 8| body = f {};
6 | ^
7 9|
8
9 … from call site
10 at /pwd/lang/eval-fail-scope-5.nix:8:10:
11 7|
12 8| body = f {};
13 | ^
14 9|
15
16 … while calling 'f'
17 at /pwd/lang/eval-fail-scope-5.nix:6:7:
18 5|
19 6| f = {x ? y, y ? x}: x + y;
20 | ^
21 7|
22
23 error: infinite recursion encountered
24 at /pwd/lang/eval-fail-scope-5.nix:6:12:
25 5|
26 6| f = {x ? y, y ? x}: x + y;
27 | ^
28 7|