aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp')
-rw-r--r--test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp b/test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp
new file mode 100644
index 0000000..4903bc8
--- /dev/null
+++ b/test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp
@@ -0,0 +1,37 @@
1error:
2 … while calling the 'foldl'' builtin
3 at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:2:1:
4 1| # Tests that the result of applying op is forced even if the value is never used
5 2| builtins.foldl'
6 | ^
7 3| (_: f: f null)
8
9 … while calling anonymous lambda
10 at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:3:7:
11 2| builtins.foldl'
12 3| (_: f: f null)
13 | ^
14 4| null
15
16 … from call site
17 at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:3:10:
18 2| builtins.foldl'
19 3| (_: f: f null)
20 | ^
21 4| null
22
23 … while calling anonymous lambda
24 at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:5:6:
25 4| null
26 5| [ (_: throw "Not the final value, but is still forced!") (_: 23) ]
27 | ^
28 6|
29
30 … while calling the 'throw' builtin
31 at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:5:9:
32 4| null
33 5| [ (_: throw "Not the final value, but is still forced!") (_: 23) ]
34 | ^
35 6|
36
37 error: Not the final value, but is still forced!