mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
* Change the semantics of "with" so that inner "withs" take
precedence, i.e. `with {x=1;}; with {x=2;}; x' evaluates to 2'. This has a simpler implementation and seems more natural. There doesn't seem to be any code in Nixpkgs or NixOS that relies on the old behaviour.
This commit is contained in:
parent
816f9c0f6f
commit
85d13c8f93
2 changed files with 2 additions and 25 deletions
|
@ -240,8 +240,6 @@ private:
|
|||
|
||||
Value * lookupVar(Env * env, const Symbol & name);
|
||||
|
||||
Value * lookupWith(Env * env, const Symbol & name);
|
||||
|
||||
friend class ExprVar;
|
||||
friend class ExprAttrs;
|
||||
friend class ExprLet;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue