mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
Value: extract Value::ClosureThunk
This commit is contained in:
parent
d8ff5cfe8e
commit
b55203e874
@ -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 New Issue
Block a user