1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 12:41:15 +02:00

libexpr: Check primop arity earlier

This commit is contained in:
Robert Hensing 2023-11-16 11:10:25 +01:00
parent ba3cb4a049
commit 0daccb1121
4 changed files with 33 additions and 10 deletions

View file

@ -354,13 +354,7 @@ public:
// Value will be overridden anyways
}
inline void mkPrimOp(PrimOp * p)
{
clearValue();
internalType = tPrimOp;
primOp = p;
}
void mkPrimOp(PrimOp * p);
inline void mkPrimOpApp(Value * l, Value * r)
{