mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #25721 from theblixguy/fix/SR-10992
[ConstraintSystem] Fix crash on function conversion reliant on conditional conformance
This commit is contained in:
@@ -374,6 +374,12 @@ getAlternativeLiteralTypes(KnownProtocolKind kind) {
|
||||
return *AlternativeLiteralTypes[index];
|
||||
}
|
||||
|
||||
ConstraintLocator *ConstraintSystem::getConstraintLocator(
|
||||
Expr *anchor, ArrayRef<ConstraintLocator::PathElement> path) {
|
||||
auto summaryFlags = ConstraintLocator::getSummaryFlagsForPath(path);
|
||||
return getConstraintLocator(anchor, path, summaryFlags);
|
||||
}
|
||||
|
||||
ConstraintLocator *ConstraintSystem::getConstraintLocator(
|
||||
Expr *anchor,
|
||||
ArrayRef<ConstraintLocator::PathElement> path,
|
||||
|
||||
Reference in New Issue
Block a user