aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
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.hh
parent96b695ccab4a4c8c4ef7f14ac261df43dcc00743 (diff)
forceAttrs: Show position info
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index decca9e40..248805004 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -161,6 +161,7 @@ public:
NixInt forceInt(Value & v, const Pos & pos);
bool forceBool(Value & v);
inline void forceAttrs(Value & v);
+ inline void forceAttrs(Value & v, const Pos & pos);
inline void forceList(Value & v);
inline void forceList(Value & v, const Pos & pos);
void forceFunction(Value & v, const Pos & pos); // either lambda or primop