Report diagnostics about callable reference resolution ambiguity

Found diagnostics were not reported before.
#KT-32862 In Progress
This commit is contained in:
Pavel Kirpichenkov
2019-10-17 18:41:41 +03:00
parent 138d558f6a
commit 02fc921eed
11 changed files with 59 additions and 8 deletions
@@ -10767,6 +10767,16 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt3174.kt");
}
@TestMetadata("kt32862_both.kt")
public void testKt32862_both() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt32862_both.kt");
}
@TestMetadata("kt32862_none.kt")
public void testKt32862_none() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt32862_none.kt");
}
@TestMetadata("kt3301.kt")
public void testKt3301() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt3301.kt");
@@ -10762,6 +10762,16 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt3174.kt");
}
@TestMetadata("kt32862_both.kt")
public void testKt32862_both() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt32862_both.kt");
}
@TestMetadata("kt32862_none.kt")
public void testKt32862_none() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt32862_none.kt");
}
@TestMetadata("kt3301.kt")
public void testKt3301() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/regressions/kt3301.kt");