diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-04T16·58+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-04-04T16·59+0200 |
commit | b62d36963c45ccaebb328fceaf0bb40f9c02a14b (patch) | |
tree | d33902351ffed1c44fffb4acdc31938626da2795 /src/libexpr/eval.hh | |
parent | c28de6d96e7bfea834a44deac5217d4696fa8d86 (diff) |
forceInt: Show position info
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index e69b8455e4a5..0a424ddb9423 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -158,7 +158,7 @@ public: void strictForceValue(Value & v); /* Force `v', and then verify that it has the expected type. */ - NixInt forceInt(Value & v); + NixInt forceInt(Value & v, const Pos & pos); bool forceBool(Value & v); inline void forceAttrs(Value & v); inline void forceList(Value & v); |