K2: add test to reproduce KT-63233
This commit is contained in:
committed by
Space Team
parent
b6d2d23f41
commit
7f7bc1f36c
+6
@@ -43176,6 +43176,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendNotImplemented.kt")
|
||||
public void testSuspendNotImplemented() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendOverridability.kt")
|
||||
public void testSuspendOverridability() throws Exception {
|
||||
|
||||
+6
@@ -43176,6 +43176,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendNotImplemented.kt")
|
||||
public void testSuspendNotImplemented() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendOverridability.kt")
|
||||
public void testSuspendOverridability() throws Exception {
|
||||
|
||||
+6
@@ -40902,6 +40902,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendNotImplemented.kt")
|
||||
public void testSuspendNotImplemented() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendOverridability.kt")
|
||||
public void testSuspendOverridability() throws Exception {
|
||||
|
||||
+6
@@ -41022,6 +41022,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendNotImplemented.kt")
|
||||
public void testSuspendNotImplemented() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendOverridability.kt")
|
||||
public void testSuspendOverridability() throws Exception {
|
||||
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// ISSUE: KT-63233, KT-59818
|
||||
|
||||
interface A {
|
||||
suspend fun foo()
|
||||
}
|
||||
|
||||
class B : A
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
// ISSUE: KT-63233, KT-59818
|
||||
|
||||
interface A {
|
||||
suspend fun foo()
|
||||
}
|
||||
|
||||
<!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>class B<!> : A
|
||||
Generated
+6
@@ -43176,6 +43176,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendLambda.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendNotImplemented.kt")
|
||||
public void testSuspendNotImplemented() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendOverridability.kt")
|
||||
public void testSuspendOverridability() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user