mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user