[ConstraintSystem] Adds the new overload to FailureDiagnostic as well and remove other instances of 0 summary flags

This commit is contained in:
Suyash Srijan
2019-06-24 22:33:38 +01:00
parent 3f2b95be49
commit aaacd29b68
4 changed files with 13 additions and 7 deletions

View File

@@ -313,8 +313,8 @@ StepResult ComponentStep::take(bool prevFailed) {
// Let's drop `generic parameter '...'` part of the locator to
// group all of the missing generic parameters related to the
// same path together.
defaultableGenericParams[CS.getConstraintLocator(anchor, path.drop_back(),
/*summaryFlags=*/0)]
defaultableGenericParams[CS.getConstraintLocator(anchor,
path.drop_back())]
.push_back(locator->getGenericParameter());
}