[Test] Add a test covering missed error for virtual inline vals in enum classes
Addition to inline functions that are already present in tests. ^KT-34372
This commit is contained in:
committed by
Space Team
parent
4e85434536
commit
62d8d04b51
+6
@@ -18792,6 +18792,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/inline/virtualMemberInEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("virtualValInEnum.kt")
|
||||
public void testVirtualValInEnum() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inline/virtualValInEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("when.kt")
|
||||
public void testWhen() throws Exception {
|
||||
|
||||
+6
@@ -18792,6 +18792,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/inline/virtualMemberInEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("virtualValInEnum.kt")
|
||||
public void testVirtualValInEnum() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inline/virtualValInEnum.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("when.kt")
|
||||
public void testWhen() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user