test(tvix/eval): test “useful” plain inherits
Change-Id: Ic4700f0618a393e45a2ee7c70045edff97e30c49 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6493 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
4d8f35353b
commit
f95b23d743
2 changed files with 10 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
1
|
|
@ -0,0 +1,9 @@
|
|||
with { a = 1; };
|
||||
|
||||
let
|
||||
inherit a;
|
||||
in
|
||||
|
||||
with { a = 2; };
|
||||
|
||||
a
|
Loading…
Reference in a new issue