aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-04 19:11:40 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-04 19:11:40 +0200
commit27b44b8cf7072b09a1929ee44ba784b1c8d5211a (patch)
tree7f9324d3422db4f3c2120f9009acc6228a839c40 /src/libexpr/eval.cc
parent96b695ccab4a4c8c4ef7f14ac261df43dcc00743 (diff)
forceAttrs: Show position info
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index b74170ecb..5c88a34a9 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -850,7 +850,7 @@ void EvalState::callFunction(Value & fun, Value & arg, Value & v, const Pos & po
env2.values[displ++] = &arg;
else {
- forceAttrs(arg);
+ forceAttrs(arg, pos);
if (!lambda.arg.empty())
env2.values[displ++] = &arg;