mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
forceBool(): Show position info
This commit is contained in:
parent
26d92017d3
commit
c42d1acfeb
4 changed files with 14 additions and 13 deletions
|
@ -157,7 +157,7 @@ public:
|
|||
/* Force `v', and then verify that it has the expected type. */
|
||||
NixInt forceInt(Value & v, const Pos & pos);
|
||||
NixFloat forceFloat(Value & v, const Pos & pos);
|
||||
bool forceBool(Value & v);
|
||||
bool forceBool(Value & v, const Pos & pos);
|
||||
inline void forceAttrs(Value & v);
|
||||
inline void forceAttrs(Value & v, const Pos & pos);
|
||||
inline void forceList(Value & v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue