K1: report swallowed diagnostic about receiver type mismatch

#KT-55056 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-02-14 16:27:25 +01:00
committed by Space Team
parent 176325eaa7
commit bd27ec840c
21 changed files with 173 additions and 19 deletions
@@ -36604,6 +36604,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/completeIrrelevantCalls.kt");
}
@Test
@TestMetadata("inconsistentTypeInference.kt")
public void testInconsistentTypeInference() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/inconsistentTypeInference.kt");
}
@Test
@TestMetadata("inconsistentTypeInference2.kt")
public void testInconsistentTypeInference2() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/inconsistentTypeInference2.kt");
}
@Test
@TestMetadata("incorrectCalls.kt")
public void testIncorrectCalls() throws Exception {
@@ -36604,6 +36604,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/completeIrrelevantCalls.kt");
}
@Test
@TestMetadata("inconsistentTypeInference.kt")
public void testInconsistentTypeInference() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/inconsistentTypeInference.kt");
}
@Test
@TestMetadata("inconsistentTypeInference2.kt")
public void testInconsistentTypeInference2() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/builderInference/inconsistentTypeInference2.kt");
}
@Test
@TestMetadata("incorrectCalls.kt")
public void testIncorrectCalls() throws Exception {