diff options
author | Rutger Broekhoff | 2025-07-07 21:52:08 +0200 |
---|---|---|
committer | Rutger Broekhoff | 2025-07-07 21:52:08 +0200 |
commit | ba61dfd69504ec6263a9dee9931d93adeb6f3142 (patch) | |
tree | d6c9b78e50eeab24e0c1c09ab45909a6ae3fd5db /test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp | |
download | verified-dyn-lang-interp-ba61dfd69504ec6263a9dee9931d93adeb6f3142.tar.gz verified-dyn-lang-interp-ba61dfd69504ec6263a9dee9931d93adeb6f3142.zip |
Initialize repository
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.exp | 37 |
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 @@ | |||
1 | error: | ||
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! | ||