about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-nested-has-attrs.nix
blob: 47dcec7a95f4b12f4420f71dc144f3a998567606 (plain) (tree)

























                       
let
  set = {
    a.b.c = 123;
    foo = {
      bar = 23;
    };
    baz = 1;
  };

  tes = "random value";
in

[
  (set ? a)
  (set ? a.b)
  (set ? a.b.c)
  (set ? foo)
  (set ? foo.bar)
  (set.foo ? bar)
  (set ? baz)
  (set ? x)
  (set ? x.y.z)
  (tes ? bar)
  (tes ? x.y.z)
  (null ? null)
]