about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/eval.cc6
-rw-r--r--src/libexpr/eval.hh2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 1dab5ceffd5e..f1212cd22542 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1181,18 +1181,18 @@ void ExprPos::eval(EvalState & state, Env & env, Value & v)
 }
 
 
-void EvalState::strictForceValue(Value & v)
+void EvalState::forceValueDeep(Value & v)
 {
     forceValue(v);
 
     if (v.type == tAttrs) {
         foreach (Bindings::iterator, i, *v.attrs)
-            strictForceValue(*i->value);
+            forceValueDeep(*i->value);
     }
 
     else if (v.type == tList) {
         for (unsigned int n = 0; n < v.list.length; ++n)
-            strictForceValue(*v.list.elems[n]);
+            forceValueDeep(*v.list.elems[n]);
     }
 }
 
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index d8ea0f0ce70e..ed572b4291a1 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -188,7 +188,7 @@ public:
 
     /* Force a value, then recursively force list elements and
        attributes. */
-    void strictForceValue(Value & v);
+    void forceValueDeep(Value & v);
 
     /* Force `v', and then verify that it has the expected type. */
     NixInt forceInt(Value & v, const Pos & pos);