[FIR] Reproduce KT-57100
This commit is contained in:
committed by
Space Team
parent
3116e26204
commit
973248f432
+6
@@ -1251,6 +1251,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/suppressInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConflictingOverloads.kt")
|
||||
public void testSuspendConflictingOverloads() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConflictingOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunAndPrivateJava.kt")
|
||||
public void testSuspendFunAndPrivateJava() throws Exception {
|
||||
|
||||
+6
@@ -1251,6 +1251,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/suppressInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConflictingOverloads.kt")
|
||||
public void testSuspendConflictingOverloads() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConflictingOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunAndPrivateJava.kt")
|
||||
public void testSuspendFunAndPrivateJava() throws Exception {
|
||||
|
||||
+6
@@ -1251,6 +1251,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/suppressInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConflictingOverloads.kt")
|
||||
public void testSuspendConflictingOverloads() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConflictingOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunAndPrivateJava.kt")
|
||||
public void testSuspendFunAndPrivateJava() throws Exception {
|
||||
|
||||
+6
@@ -1251,6 +1251,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/suppressInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConflictingOverloads.kt")
|
||||
public void testSuspendConflictingOverloads() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConflictingOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunAndPrivateJava.kt")
|
||||
public void testSuspendFunAndPrivateJava() throws Exception {
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
// ISSUE: KT-57100
|
||||
// WITH_STDLIB
|
||||
|
||||
interface C07I01{
|
||||
fun some() {}
|
||||
}
|
||||
|
||||
interface C07I02{
|
||||
suspend fun some() {}
|
||||
}
|
||||
|
||||
class C07C01: C07I01, C07I02 {
|
||||
override fun some() {}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
// ISSUE: KT-57100
|
||||
// WITH_STDLIB
|
||||
|
||||
interface C07I01{
|
||||
fun some() {}
|
||||
}
|
||||
|
||||
interface C07I02{
|
||||
suspend fun some() {}
|
||||
}
|
||||
|
||||
class C07C01: C07I01, C07I02 {
|
||||
<!CONFLICTING_OVERLOADS!>override fun some()<!> {}
|
||||
}
|
||||
Generated
+6
@@ -1251,6 +1251,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/suppressInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConflictingOverloads.kt")
|
||||
public void testSuspendConflictingOverloads() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConflictingOverloads.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendFunAndPrivateJava.kt")
|
||||
public void testSuspendFunAndPrivateJava() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user