about summary refs log tree commit diff
path: root/tvix/eval/src/tests/nix_tests/eval-fail-foldlStrict-strict-op-application.nix
blob: 1620cc76eeb956bddd85cffde568d814f4921f18 (plain) (blame)
1
2
3
4
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) ]