diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-04T17·05+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-04T17·05+0200 |
commit | 96b695ccab4a4c8c4ef7f14ac261df43dcc00743 (patch) | |
tree | 3511cba77ca830dbe598ed207b79ce21afc74870 /src/libexpr/eval.hh | |
parent | b62d36963c45ccaebb328fceaf0bb40f9c02a14b (diff) |
forceList: Show position info
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 0a424ddb9423..decca9e40674 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -162,7 +162,8 @@ public: bool forceBool(Value & v); inline void forceAttrs(Value & v); inline void forceList(Value & v); - void forceFunction(Value & v); // either lambda or primop + inline void forceList(Value & v, const Pos & pos); + void forceFunction(Value & v, const Pos & pos); // either lambda or primop string forceString(Value & v); string forceString(Value & v, PathSet & context); string forceStringNoCtx(Value & v); |