K2: Allow PCLA inference when a value parameter has a TV type

^KT-64877 Fixed
This commit is contained in:
Denis.Zharkov
2024-01-10 19:10:15 +01:00
committed by Space Team
parent b2ca19da73
commit 72b0372927
39 changed files with 272 additions and 44 deletions
@@ -17193,6 +17193,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/inference/builderInference/bothOuterAndProperConstraints.kt");
}
@Test
@TestMetadata("bothReceiverAndValueParameterNotFixed.kt")
public void testBothReceiverAndValueParameterNotFixed() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/bothReceiverAndValueParameterNotFixed.kt");
}
@Test
@TestMetadata("builderInferenceAnnotationInLambdaWithTVExpectedType.kt")
public void testBuilderInferenceAnnotationInLambdaWithTVExpectedType() throws Exception {
@@ -17199,6 +17199,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/inference/builderInference/bothOuterAndProperConstraints.kt");
}
@Test
@TestMetadata("bothReceiverAndValueParameterNotFixed.kt")
public void testBothReceiverAndValueParameterNotFixed() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/bothReceiverAndValueParameterNotFixed.kt");
}
@Test
@TestMetadata("builderInferenceAnnotationInLambdaWithTVExpectedType.kt")
public void testBuilderInferenceAnnotationInLambdaWithTVExpectedType() throws Exception {