Merge pull request #5389 from kamadorueda/master

add pos to EvalState::forceValue
This commit is contained in:
Domen Kožar 2021-10-15 00:17:11 -05:00 committed by GitHub
commit 330650d294
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ static void prim_fetchMercurial(EvalState & state, const Pos & pos, Value * * ar
std::string name = "source";
PathSet context;
state.forceValue(*args[0]);
state.forceValue(*args[0], pos);
if (args[0]->type() == nAttrs) {