Add a few more hacks to layer the application of a solved constraint system to an expression tree on the existing type checker.

Swift SVN r2838
This commit is contained in:
Doug Gregor
2012-09-12 20:43:05 +00:00
parent 39b9f431ee
commit f059cfd22d
4 changed files with 17 additions and 14 deletions

View File

@@ -315,8 +315,8 @@ void swift::REPL(ASTContext &Context) {
if (llvm::sys::Process::StandardInIsUserInput())
printf("%s", "Welcome to swift. Type ':help' for assistance.\n");
bool useConstraintSolver = false;
while (1) {
bool useConstraintSolver = false;
bool debugConstraints = false;
// Read one line.
@@ -432,7 +432,6 @@ void swift::REPL(ASTContext &Context) {
CurBufferOffset,
CurBufferEndOffset);
if (useConstraintSolver) {
useConstraintSolver = false;
ShouldRun = false;
}