mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Sema] Diagnose user-specified placeholders which couldn’t be resolved
This commit is contained in:
@@ -11484,7 +11484,8 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyFixConstraint(
|
||||
case FixKind::AllowAlwaysSucceedCheckedCast:
|
||||
case FixKind::AllowInvalidStaticMemberRefOnProtocolMetatype:
|
||||
case FixKind::AllowWrappedValueMismatch:
|
||||
case FixKind::RemoveExtraneousArguments: {
|
||||
case FixKind::RemoveExtraneousArguments:
|
||||
case FixKind::SpecifyTypeForPlaceholder: {
|
||||
return recordFix(fix) ? SolutionKind::Error : SolutionKind::Solved;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user