diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-14T08·37+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-14T08·37+0000 |
commit | 85d13c8f93c8b251f5883d9b38051b33bab1ad3e (patch) | |
tree | 36727b29c68785d7060dca66229798b71505c182 /src/libexpr/eval.hh | |
parent | 816f9c0f6fae0229961bb573dfa0f75ff42c14eb (diff) |
* 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.
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 0491fc481f03..eda081261c39 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -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; |