File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -1877,18 +1877,6 @@ bool FailureDiagnosis::visitApplyExpr(ApplyExpr *callExpr) {
1877
1877
return true ;
1878
1878
}
1879
1879
1880
- <<<<<<< HEAD
1881
- bool FailureDiagnosis::visitCoerceExpr (CoerceExpr *CE) {
1882
- // Coerce the input to whatever type is specified by the CoerceExpr.
1883
- auto expr = typeCheckChildIndependently (CE->getSubExpr (),
1884
- CS.getType (CE->getCastTypeLoc ()),
1885
- CTP_CoerceOperand);
1886
- if (!expr)
1887
- return true ;
1888
-
1889
- return false ;
1890
- }
1891
-
1892
1880
bool FailureDiagnosis::
1893
1881
visitRebindSelfInConstructorExpr (RebindSelfInConstructorExpr *E) {
1894
1882
// Don't walk the children for this node, it leads to multiple diagnostics
Original file line number Diff line number Diff line change @@ -4779,13 +4779,6 @@ bool MissingContextualConformanceFailure::diagnoseAsError() {
4779
4779
break ;
4780
4780
}
4781
4781
4782
- case ConstraintLocator::InstanceType: {
4783
- // If the missing conformance involves a coercion of metatypes
4784
- if (diagnoseCoercionToUnrelatedType ())
4785
- return true ;
4786
- break ;
4787
- }
4788
-
4789
4782
default :
4790
4783
break ;
4791
4784
}
You can’t perform that action at this time.
0 commit comments