refactoring: removed logic of rendering 'expected type mismatch' error from constraint system
This commit is contained in:
-3
@@ -486,9 +486,6 @@ public class ConstraintSystemImpl implements ConstraintSystem {
|
||||
@NotNull
|
||||
@Override
|
||||
public TypeSubstitutor getResultingSubstitutor() {
|
||||
if (getStatus().hasOnlyExpectedTypeMismatch()) {
|
||||
return filterConstraintsOut(EXPECTED_TYPE_POSITION).getResultingSubstitutor();
|
||||
}
|
||||
return resultingSubstitutor;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user