mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -10156,6 +10156,8 @@ void ConstraintSystem::addContextualConversionConstraint(
|
||||
case CTP_CoerceOperand:
|
||||
case CTP_SubscriptAssignSource:
|
||||
case CTP_ForEachStmt:
|
||||
case CTP_WrappedProperty:
|
||||
case CTP_ComposedPropertyWrapper:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user