diff options
author | David Robillard <d@drobilla.net> | 2009-03-07 02:28:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-03-07 02:28:09 +0000 |
commit | 240b9f437bf87e98ca2c4ad8f242e86fca7f24e5 (patch) | |
tree | c4f9cb64594d84318b87b3fb3447f286e6bc303f /typing.cpp | |
parent | 76a2dc8afc2e59e2927cacb7270e28943ec9841d (diff) | |
download | resp-240b9f437bf87e98ca2c4ad8f242e86fca7f24e5.tar.gz resp-240b9f437bf87e98ca2c4ad8f242e86fca7f24e5.tar.bz2 resp-240b9f437bf87e98ca2c4ad8f242e86fca7f24e5.zip |
Oops.
git-svn-id: http://svn.drobilla.net/resp/tuplr@70 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'typing.cpp')
-rw-r--r-- | typing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ void ASTTuple::constrain(TEnv& tenv) const { - AType* t = new AType(loc, 0); + AType* t = new AType(ASTTuple(), loc); FOREACH(const_iterator, p, *this) { (*p)->constrain(tenv); t->push_back(tenv.type(*p)); @@ -48,7 +48,7 @@ ASTCall::constrain(TEnv& tenv) const FOREACH(const_iterator, p, *this) (*p)->constrain(tenv); AType* retT = tenv.type(this); - AType* argsT = new AType(loc, 0); + AType* argsT = new AType(ASTTuple(), loc); for (size_t i = 1; i < size(); ++i) argsT->push_back(tenv.type(at(i))); tenv.constrain(at(0), new AType(at(0)->loc, tenv.penv.sym("Fn"), argsT, retT, 0)); |