diff options
author | David Robillard <d@drobilla.net> | 2012-12-26 20:15:51 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-12-26 20:15:51 +0000 |
commit | 3f63c53b6d1188f1b6f0cd94fbb67ce48965b14d (patch) | |
tree | 5c3d2aa57501df81a47cdcd3bb5fbf12a42aed4b /src/lift.cpp | |
parent | 9d70db157eb9458f6716eacf24752fcfbb205fcb (diff) | |
download | resp-3f63c53b6d1188f1b6f0cd94fbb67ce48965b14d.tar.gz resp-3f63c53b6d1188f1b6f0cd94fbb67ce48965b14d.tar.bz2 resp-3f63c53b6d1188f1b6f0cd94fbb67ce48965b14d.zip |
Fix lifted type declarations.
git-svn-id: http://svn.drobilla.net/resp/trunk@449 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/lift.cpp')
-rw-r--r-- | src/lift.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lift.cpp b/src/lift.cpp index 48fcf4e..8cdf654 100644 --- a/src/lift.cpp +++ b/src/lift.cpp @@ -188,8 +188,9 @@ lift_fn(CEnv& cenv, Code& code, const ATuple* fn) throw() cenv.setType(impl, realImplT); // Create type definition for closure type - const AST* tdef = resp_lift( - cenv, code, tup(Cursor(), cenv.penv.sym("def-type"), tsym, closureT, 0)); + List tdef(Cursor(), cenv.penv.sym("def-type"), tsym, 0); + tdef.push_back(closureT); + code.push_back(tdef); cenv.tenv.def(tsym, closureT); |