about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-fail-builtins-genericClosure-uncomparable-keys2.nix
blob: 0589a3ab596bf2c15cc1d3f9c987040567e34fbc (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                         
                                           



                                  
               
 
let
  id = x: x;
in

builtins.genericClosure {
  startSet = [{ key = id; first = true; }];
  operator =
    { first, ... }:
    if first then [
      { key = id; first = false; }
    ] else [ ];
}