mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01:15 +02:00
forceString(): Accept pos argument
This commit is contained in:
parent
976b949e4d
commit
4e340a983f
3 changed files with 5 additions and 5 deletions
|
@ -200,7 +200,7 @@ public:
|
|||
inline void forceList(Value & v, const Pos & pos);
|
||||
void forceFunction(Value & v, const Pos & pos); // either lambda or primop
|
||||
string forceString(Value & v, const Pos & pos = noPos);
|
||||
string forceString(Value & v, PathSet & context);
|
||||
string forceString(Value & v, PathSet & context, const Pos & pos = noPos);
|
||||
string forceStringNoCtx(Value & v, const Pos & pos = noPos);
|
||||
|
||||
/* Return true iff the value `v' denotes a derivation (i.e. a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue