From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- test/testdata/eval-fail-foldlStrict-strict-op-application.nix | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/testdata/eval-fail-foldlStrict-strict-op-application.nix (limited to 'test/testdata/eval-fail-foldlStrict-strict-op-application.nix') diff --git a/test/testdata/eval-fail-foldlStrict-strict-op-application.nix b/test/testdata/eval-fail-foldlStrict-strict-op-application.nix new file mode 100644 index 0000000..1620cc7 --- /dev/null +++ b/test/testdata/eval-fail-foldlStrict-strict-op-application.nix @@ -0,0 +1,5 @@ +# Tests that the result of applying op is forced even if the value is never used +builtins.foldl' + (_: f: f null) + null + [ (_: throw "Not the final value, but is still forced!") (_: 23) ] -- cgit v1.2.3