mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
forceInt: Show position info
This commit is contained in:
parent
c28de6d96e
commit
b62d36963c
3 changed files with 11 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue