This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
nix
Watch
2
Star
0
Fork
0
You've already forked nix
mirror of
https://github.com/NixOS/nix.git
synced
2024-11-22 06:42:28 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
ba074465ba
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 15:33:34 +00:00
(let b = 2; c = { }; in { inherit b; inherit (c) d e; a = 1; f = 3; })
Reference in New Issue
Copy Permalink