forked from lix-project/lix
13 lines
237 B
Nix
13 lines
237 B
Nix
|
let
|
||
|
d = 0;
|
||
|
x = 1;
|
||
|
y = { inherit d x; };
|
||
|
z = { inherit (y) d x; };
|
||
|
in
|
||
|
[
|
||
|
(builtins.unsafeGetAttrPos "d" y)
|
||
|
(builtins.unsafeGetAttrPos "x" y)
|
||
|
(builtins.unsafeGetAttrPos "d" z)
|
||
|
(builtins.unsafeGetAttrPos "x" z)
|
||
|
]
|