From d02fe43f0f6e50f8f22321aa0080283ee2ecc9fc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 8 Dec 2010 19:07:09 +0000 Subject: Clean up function compilation stuff. Add some utilities to for using named types. git-svn-id: http://svn.drobilla.net/resp/resp@313 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- src/constrain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/constrain.cpp') diff --git a/src/constrain.cpp b/src/constrain.cpp index 3aee45a..e97bcc3 100644 --- a/src/constrain.cpp +++ b/src/constrain.cpp @@ -225,7 +225,7 @@ constrain_dot(TEnv& tenv, Constraints& c, const ATuple* call) throw(Error) for (int i = 0; i < idx->val; ++i) objT.push_back(tenv.var()); objT.push_back(retT); - objT.push_back(new AType(obj->loc, AType::DOTS)); + objT.push_back(tenv.Dots); c.constrain(tenv, obj, objT); } -- cgit v1.2.1