diff options
Diffstat (limited to 'src/tuplr.hpp')
-rw-r--r-- | src/tuplr.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/tuplr.hpp b/src/tuplr.hpp index 947a62c..a89b612 100644 --- a/src/tuplr.hpp +++ b/src/tuplr.hpp @@ -375,9 +375,8 @@ struct AFn : public ATuple { return NULL; } }; - Impls impls; - mutable Subst subst; - string name; + Impls impls; + string name; }; /// Function call/application, e.g. "(func arg1 arg2)" @@ -564,10 +563,9 @@ struct TEnv : public Env<const ASymbol*, AType*> { } static Subst buildSubst(AType* fnT, const AType& argsT); - typedef map<const AST*, AType*> Vars; - typedef map<const AFn*, const AType*> GenericTypes; + typedef map<const AST*, AType*> Vars; + Vars vars; - GenericTypes genericTypes; PEnv& penv; unsigned varID; }; |