mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
forceAttrs: Show position info
This commit is contained in:
parent
96b695ccab
commit
27b44b8cf7
5 changed files with 23 additions and 14 deletions
|
@ -850,7 +850,7 @@ void EvalState::callFunction(Value & fun, Value & arg, Value & v, const Pos & po
|
|||
env2.values[displ++] = &arg;
|
||||
|
||||
else {
|
||||
forceAttrs(arg);
|
||||
forceAttrs(arg, pos);
|
||||
|
||||
if (!lambda.arg.empty())
|
||||
env2.values[displ++] = &arg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue