mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 06:56:14 +02:00
change error location for genericClosure operator errors
This commit is contained in:
parent
4078015927
commit
1b5a8db148
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ static void prim_genericClosure(EvalState & state, const Pos & pos, Value * * ar
|
||||||
|
|
||||||
/* Call the `operator' function with `e' as argument. */
|
/* Call the `operator' function with `e' as argument. */
|
||||||
Value res;
|
Value res;
|
||||||
state.callFunction(*op->value, 1, &e, res, *op->pos);
|
state.callFunction(*op->value, 1, &e, res, pos);
|
||||||
state.forceList(res, pos, "While evaluating the return value of the `operator` passed to builtins.genericClosure");
|
state.forceList(res, pos, "While evaluating the return value of the `operator` passed to builtins.genericClosure");
|
||||||
|
|
||||||
/* Add the values returned by the operator to the work set. */
|
/* Add the values returned by the operator to the work set. */
|
||||||
|
|
Loading…
Reference in a new issue