Skip to content
Snippets Groups Projects
Unverified Commit df8e9d69 authored by Domen Kožar's avatar Domen Kožar Committed by GitHub
Browse files

Merge pull request #3548 from Ma27/fetchtarball-pos

Fix displaying error-position in `builtins.fetch{Tree,Tarball}`
parents aeb406dd d1229859
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ static void fetch(EvalState & state, const Pos & pos, Value * * args, Value & v,
name = state.forceStringNoCtx(*attr.value, *attr.pos);
else
throw EvalError("unsupported argument '%s' to '%s', at %s",
attr.name, who, attr.pos);
attr.name, who, *attr.pos);
}
if (!url)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment