This website requires JavaScript.
Explore
Help
Sign In
NixOS
/
nix
Watch
1
Star
0
Fork
You've already forked nix
0
mirror of
https://github.com/NixOS/nix
synced
2024-10-18 14:32:45 -04:00
Code
Activity
1f024ecfcd
nix
/
tests
/
functional
/
lang
/
parse-okay-inherits.exp
2 lines
71 B
Plaintext
Raw
Normal View
History
Unescape
Escape
group inherit by source during Expr::show 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)
2024-01-27 10:33:34 -05:00
(let b = 2; c = { }; in { inherit b; inherit (c) d e; a = 1; f = 3; })
Copy permalink