about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-with-in-list.nix
blob: 3e85cbee451bfdf9307219b8d1263e72c7931dd2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                                 

  



                   
# This code causes a situation where a list element causes an
# additional phantom value to temporarily be placed on the locals
# stack, which must be correctly accounted for by the compiler.

let
  set = {
    value = 2;
  };
in
[
  1
  (with set; value)
  3
]