From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- ...-fail-foldlStrict-strict-op-application.err.exp | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp (limited to 'test/testdata/eval-fail-foldlStrict-strict-op-application.err.exp') 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 @@ +error: + … while calling the 'foldl'' builtin + at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:2:1: + 1| # Tests that the result of applying op is forced even if the value is never used + 2| builtins.foldl' + | ^ + 3| (_: f: f null) + + … while calling anonymous lambda + at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:3:7: + 2| builtins.foldl' + 3| (_: f: f null) + | ^ + 4| null + + … from call site + at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:3:10: + 2| builtins.foldl' + 3| (_: f: f null) + | ^ + 4| null + + … while calling anonymous lambda + at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:5:6: + 4| null + 5| [ (_: throw "Not the final value, but is still forced!") (_: 23) ] + | ^ + 6| + + … while calling the 'throw' builtin + at /pwd/lang/eval-fail-foldlStrict-strict-op-application.nix:5:9: + 4| null + 5| [ (_: throw "Not the final value, but is still forced!") (_: 23) ] + | ^ + 6| + + error: Not the final value, but is still forced! -- cgit v1.2.3