aboutsummaryrefslogtreecommitdiffstats
path: root/src/repl.cpp
diff options
context:
space:
mode:
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 8b4faab..965e202 100644
--- a/src/repl.cpp
+++ b/src/repl.cpp
@@ -39,7 +39,7 @@ readParseType(CEnv& cenv, Cursor& cursor, istream& is, AST*& exp, const AST*& as
if (!exp || (exp->to_tuple() && exp->to_tuple()->empty()))
return false;
- ast = cenv.penv.parse(exp); // Parse input
+ ast = cenv.penv.expand(exp); // Parse input
Constraints c(cenv.tsubst);
resp_constrain(cenv.tenv, c, ast); // Constrain types