diff options
Diffstat (limited to 'typing.cpp')
-rw-r--r-- | typing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ AClosure::constrain(TEnv& tenv, Constraints& c) const genericType = new AType(loc, tenv.penv.sym("Fn"), tsubst.apply(protT), tsubst.apply(bodyT), 0); tenv.genericTypes.insert(make_pair(this, genericType)); - AST::pool.addRoot(genericType); + Object::pool.addRoot(genericType); tenv.pop(); subst = tsubst; |