Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2023-02-16 04:53:57 -08:00
14 changed files with 44 additions and 42 deletions

View File

@@ -6216,7 +6216,7 @@ public:
this->locator = cs.getConstraintLocator(locator);
}
Type operator()(Type packType, PackReferenceTypeRepr *packRepr) const {
Type operator()(Type packType, PackElementTypeRepr *packRepr) const {
// Only assert we have an element environment when invoking the function
// object. In cases where pack elements are referenced outside of a
// pack expansion, type resolution will error before opening the pack