From b91b19b8d3a2101bb1cc09022ccad4a322b93eab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Jun 2009 03:09:57 +0000 Subject: Lift regardless (fix 'def' test). git-svn-id: http://svn.drobilla.net/resp/tuplr@155 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- tuplr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tuplr.cpp') diff --git a/tuplr.cpp b/tuplr.cpp index 5aaf54a..7dd3e9b 100644 --- a/tuplr.cpp +++ b/tuplr.cpp @@ -250,8 +250,7 @@ eval(CEnv& cenv, const string& name, istream& is) result->constrain(cenv.tenv, c); // Constrain types cenv.tsubst = Subst::compose(cenv.tsubst, TEnv::unify(c)); // Solve type constraints resultType = cenv.type(result); - if (resultType->concrete()) - result->lift(cenv); // Lift functions + result->lift(cenv); // Lift functions exprs.push_back(make_pair(exp, result)); // Add definitions as GC roots -- cgit v1.2.1