mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 20:16:03 +01:00
forceList: Show position info
This commit is contained in:
parent
b62d36963c
commit
96b695ccab
5 changed files with 35 additions and 24 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue