[FE 1.0] Don't try to report specialized resolution ambiguity error for builder inference if the corresponding substitutor is empty

^KT-50989 Fixed
This commit is contained in:
Victor Petukhov
2022-01-27 11:33:31 +03:00
committed by teamcity
parent eeadd8588d
commit 1a23cd8c45
8 changed files with 43 additions and 2 deletions
@@ -14059,6 +14059,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt49829.kt");
}
@Test
@TestMetadata("kt50989.kt")
public void testKt50989() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/builderInference/kt50989.kt");
}
@Test
@TestMetadata("labaledCall.kt")
public void testLabaledCall() throws Exception {