about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-with-in-list.nix
blob: 3e85cbee451bfdf9307219b8d1263e72c7931dd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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
]