aboutsummaryrefslogtreecommitdiffstats
path: root/typing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'typing.cpp')
-rw-r--r--typing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/typing.cpp b/typing.cpp
index fd8e35e..3b14a1f 100644
--- a/typing.cpp
+++ b/typing.cpp
@@ -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;