Merge pull request #5341 from andir/libexpr-formals

libexpr: remove matchAttrs boolean from ExprLambda
This commit is contained in:
Eelco Dolstra
2021-10-07 11:58:56 +02:00
committed by GitHub
8 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -2381,7 +2381,7 @@ static void prim_functionArgs(EvalState & state, const Pos & pos, Value * * args
.errPos = pos
});
if (!args[0]->lambda.fun->matchAttrs) {
if (!args[0]->lambda.fun->hasFormals()) {
state.mkAttrs(v, 0);
return;
}