[FE 1.0] Substituted possible fixed type variables after completion in accordance with @OverloadResolutionByLambdaReturnType

^KT-48031 Fixed
This commit is contained in:
Victor Petukhov
2022-07-02 12:07:46 +02:00
committed by teamcity
parent 5b5da025f4
commit 3ed87c29c7
9 changed files with 69 additions and 5 deletions
@@ -13670,6 +13670,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/discardInapplicableCandidateWithNotSatisfyingSelfType.kt");
}
@Test
@TestMetadata("dontThrowEmptyIntersectionException.kt")
public void testDontThrowEmptyIntersectionException() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/dontThrowEmptyIntersectionException.kt");
}
@Test
@TestMetadata("equalitySubstitutionInsideNonInvariantType.kt")
public void testEqualitySubstitutionInsideNonInvariantType() throws Exception {
@@ -14327,6 +14333,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt47986_4.kt");
}
@Test
@TestMetadata("kt48031.kt")
public void testKt48031() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt48031.kt");
}
@Test
@TestMetadata("kt49285.kt")
public void testKt49285() throws Exception {