1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 23:11:16 +02:00

storing staticenv bindings

This commit is contained in:
Ben Burdette 2021-10-02 13:47:36 -06:00
parent b9d08b98da
commit aad27143c6
3 changed files with 71 additions and 1 deletions

View file

@ -85,7 +85,7 @@ struct Expr
virtual Value * maybeThunk(EvalState & state, Env & env);
virtual void setName(Symbol & name);
std::shared_ptr<StaticEnv> staticenv;
std::shared_ptr<const StaticEnv> staticenv;
};
std::ostream & operator << (std::ostream & str, const Expr & e);