mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Value: extract Value::ClosureThunk
This commit is contained in:
parent
d8ff5cfe8e
commit
b55203e874
1 changed files with 6 additions and 4 deletions
|
@ -190,6 +190,11 @@ public:
|
|||
const char * path;
|
||||
};
|
||||
|
||||
struct ClosureThunk {
|
||||
Env * env;
|
||||
Expr * expr;
|
||||
};
|
||||
|
||||
union
|
||||
{
|
||||
NixInt integer;
|
||||
|
@ -205,10 +210,7 @@ public:
|
|||
Value * * elems;
|
||||
} bigList;
|
||||
Value * smallList[2];
|
||||
struct {
|
||||
Env * env;
|
||||
Expr * expr;
|
||||
} thunk;
|
||||
ClosureThunk thunk;
|
||||
struct {
|
||||
Value * left, * right;
|
||||
} app;
|
||||
|
|
Loading…
Reference in a new issue