[FIR] Add diag test to verify const checker in Java world
Currently, this test is not working for FIR. #KT-57802 Fixed
This commit is contained in:
+6
@@ -22805,6 +22805,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt15913.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57802.kt")
|
||||
public void testKt57802() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt57802.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stdlibConstFun.kt")
|
||||
public void testStdlibConstFun() throws Exception {
|
||||
|
||||
+6
@@ -22805,6 +22805,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt15913.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt57802.kt")
|
||||
public void testKt57802() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/kt57802.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("stdlibConstFun.kt")
|
||||
public void testStdlibConstFun() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user