mirror of
https://github.com/NixOS/nix.git
synced 2025-02-20 19:02:48 +00:00

for plain inherits this is really just a stylistic choice, but for inherit-from it actually fixes an exponential size increase problem during expr printing (as may happen during assertion failure reporting, on during duplicate attr detection in the parser)
2 lines
71 B
Plaintext
2 lines
71 B
Plaintext
(let b = 2; c = { }; in { inherit b; inherit (c) d e; a = 1; f = 3; })
|