Check a complete array-new expression within a single constraint system.

Fixes <rdar://problem/15653973>.


Swift SVN r11262
This commit is contained in:
Doug Gregor
2013-12-13 19:16:19 +00:00
parent 6faf833365
commit 1d12c5352c
6 changed files with 85 additions and 75 deletions

View File

@@ -179,6 +179,11 @@ void ConstraintLocator::dump(SourceManager *sm, raw_ostream &out) {
case NewArrayElement:
out << "new array element type";
break;
case NewArrayConstructor:
out << "new array constructor";
break;
}
}
}