1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

remove unnecessary constructor argument

This commit is contained in:
Taeer Bar-Yam 2025-10-31 16:33:02 +01:00
parent 34f780d747
commit 67be2df174
3 changed files with 4 additions and 4 deletions

View file

@ -111,7 +111,7 @@ TEST_F(ValuePrintingTests, vLambda)
auto posIdx = state.positions.add(origin, 0);
auto body = ExprInt(0);
ExprLambda eLambda(state.mem.exprs.alloc, posIdx, createSymbol("a"), &body);
ExprLambda eLambda(posIdx, createSymbol("a"), &body);
Value vLambda;
vLambda.mkLambda(&env, &eLambda);
@ -500,7 +500,7 @@ TEST_F(ValuePrintingTests, ansiColorsLambda)
auto posIdx = state.positions.add(origin, 0);
auto body = ExprInt(0);
ExprLambda eLambda(state.mem.exprs.alloc, posIdx, createSymbol("a"), &body);
ExprLambda eLambda(posIdx, createSymbol("a"), &body);
Value vLambda;
vLambda.mkLambda(&env, &eLambda);