Merge pull request #36657 from xedin/rdar-75978086

[CSBindings] A couple of adjustments to transitive protocol inference
This commit is contained in:
Pavel Yaskevich
2021-03-31 12:31:13 -07:00
committed by GitHub
5 changed files with 108 additions and 23 deletions

View File

@@ -1710,6 +1710,7 @@ ConstraintSystem::getTypeOfMemberReference(
// Concrete type replacing `Self` could be generic, so we need
// to make sure that it's opened before use.
baseOpenedTy = openType(concreteSelf, replacements);
baseObjTy = baseOpenedTy;
}
}
} else if (baseObjTy->isExistentialType()) {