mirror of
https://github.com/NixOS/nix
synced 2025-06-28 09:31:16 +02:00
libexpr: Check primop arity earlier
This commit is contained in:
parent
ba3cb4a049
commit
0daccb1121
4 changed files with 33 additions and 10 deletions
|
@ -114,7 +114,8 @@ TEST_F(ValuePrintingTests, vLambda)
|
|||
TEST_F(ValuePrintingTests, vPrimOp)
|
||||
{
|
||||
Value vPrimOp;
|
||||
vPrimOp.mkPrimOp(nullptr);
|
||||
PrimOp primOp{};
|
||||
vPrimOp.mkPrimOp(&primOp);
|
||||
|
||||
test(vPrimOp, "<PRIMOP>");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue