Propagate nullness flexibility into the result type from type variables in other constraints during result type finding, to prevent variable fixation to less flexible type

^KT-44540 Fixed
This commit is contained in:
Victor Petukhov
2021-01-26 19:10:48 +03:00
parent ce1f9882df
commit 977ac7cbe7
6 changed files with 129 additions and 1 deletions
@@ -20213,6 +20213,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/platformTypes/override.kt");
}
@Test
@TestMetadata("propagateFlexibilityFromOtherConstraints.kt")
public void testPropagateFlexibilityFromOtherConstraints() throws Exception {
runTest("compiler/testData/diagnostics/tests/platformTypes/propagateFlexibilityFromOtherConstraints.kt");
}
@Test
@TestMetadata("rawOverrides.kt")
public void testRawOverrides() throws Exception {