mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintSystem] Adds the new overload to FailureDiagnostic as well and remove other instances of 0 summary flags
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user