We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b676ad commit 5ac1926Copy full SHA for 5ac1926
lib/Sema/CSDiagnostics.cpp
@@ -659,10 +659,6 @@ bool GenericArgumentsMismatchFailure::diagnoseAsError() {
659
break;
660
}
661
662
- case ConstraintLocator::GenericArgument: {
663
- break;
664
- }
665
-
666
case ConstraintLocator::OptionalPayload: {
667
// If we have an inout expression, this comes from an
668
// InoutToPointer argument mismatch failure.
@@ -689,7 +685,7 @@ bool GenericArgumentsMismatchFailure::diagnoseAsError() {
689
685
690
686
691
687
default:
692
- return false;
688
+ break;
693
694
695
0 commit comments