mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31: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
|
@ -1257,9 +1257,9 @@ void copyContext(const Value & v, PathSet & context)
|
|||
}
|
||||
|
||||
|
||||
string EvalState::forceString(Value & v, PathSet & context)
|
||||
string EvalState::forceString(Value & v, PathSet & context, const Pos & pos)
|
||||
{
|
||||
string s = forceString(v);
|
||||
string s = forceString(v, pos);
|
||||
copyContext(v, context);
|
||||
return s;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue