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:
parent
34f780d747
commit
67be2df174
3 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue