forceInt: Show position info

This commit is contained in:
Eelco Dolstra
2014-04-04 18:59:29 +02:00
parent c28de6d96e
commit b62d36963c
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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);