aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-03 01:27:51 +0000
committerDavid Robillard <d@drobilla.net>2010-12-03 01:27:51 +0000
commit3ace07c3056cf9979053562cace439a6a1693b08 (patch)
tree500634a29967670c18e2797c07de26b89c67edaf /src/repl.cpp
parentf25e8a63dd55a73aaf079f8198ccef048917060f (diff)
downloadresp-3ace07c3056cf9979053562cace439a6a1693b08.tar.gz
resp-3ace07c3056cf9979053562cace439a6a1693b08.tar.bz2
resp-3ace07c3056cf9979053562cace439a6a1693b08.zip
Remove AST::constrain.
git-svn-id: http://svn.drobilla.net/resp/resp@287 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/repl.cpp')
-rw-r--r--src/repl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl.cpp b/src/repl.cpp
index 4fdbb53..f6f8a26 100644
--- a/src/repl.cpp
+++ b/src/repl.cpp
@@ -42,7 +42,7 @@ readParseType(CEnv& cenv, Cursor& cursor, istream& is, AST*& exp, AST*& ast)
ast = cenv.penv.parse(exp); // Parse input
Constraints c(cenv.tsubst);
- ast->constrain(cenv.tenv, c); // Constrain types
+ resp_constrain(cenv.tenv, c, ast); // Constrain types
//cout << "(CONSTRAINTS " << endl << c << ")" << endl;