add test for inherit expr printing

(cherry picked from commit 73065a400d)
Change-Id: I9356d8084d241a7904b66554d7c4194f8433edf7
This commit is contained in:
eldritch horrors 2024-03-08 09:51:10 +01:00
parent 0c19e6b56c
commit 3e43f4aeff
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1 @@
(let c = { }; b = 2; in { a = 1; inherit b ; d = (c).d; e = (c).e; f = 3; })

View file

@ -0,0 +1,9 @@
let
c = {};
b = 2;
in {
a = 1;
inherit b;
inherit (c) d e;
f = 3;
}