[Property Wrappers] Add new contextual type purposes for property wrappers

to produce better diagnostics when there's a 'wrappedValue' type mismatch.
This commit is contained in:
Holly Borla
2020-07-01 19:42:01 -07:00
parent 238637408c
commit f555bfefc9
8 changed files with 35 additions and 3 deletions

View File

@@ -10156,6 +10156,8 @@ void ConstraintSystem::addContextualConversionConstraint(
case CTP_CoerceOperand:
case CTP_SubscriptAssignSource:
case CTP_ForEachStmt:
case CTP_WrappedProperty:
case CTP_ComposedPropertyWrapper:
break;
}