aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-okay-scope-7.exp
AgeCommit message (Collapse)Author
2010-04-21* Update the expected test output (no longer an ATerm).Eelco Dolstra
2009-05-15* Change the scoping of "inherit (e) ..." in recs so that theEelco Dolstra
attributes of the rec are in scope of `e'. This is useful in expressions such as rec { lib = import ./lib; inherit (lib) concatStrings; } It does change the semantics of expressions such as let x = {y = 1;}; in rec { x = {y = 2;}; inherit (x) y; }.y This now returns 2 instead of 1. However, no code in Nixpkgs or NixOS seems to rely on the old behaviour.