1
0
Fork 0
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:
Eelco Dolstra 2014-11-25 10:23:36 +01:00
parent 976b949e4d
commit 4e340a983f
3 changed files with 5 additions and 5 deletions

View file

@ -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