[K2] Properly report diagnostics on const properties with Java usages
#KT-63752 #KT-59894 #KT-61920 Fixed
This commit is contained in:
+6
@@ -23215,6 +23215,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/fromJavaSubclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fromJavaWithNonConstInitializer.kt")
|
||||
public void testFromJavaWithNonConstInitializer() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/fromJavaWithNonConstInitializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifConstVal_after.kt")
|
||||
public void testIfConstVal_after() throws Exception {
|
||||
|
||||
+6
@@ -23215,6 +23215,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/fromJavaSubclass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("fromJavaWithNonConstInitializer.kt")
|
||||
public void testFromJavaWithNonConstInitializer() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/const/fromJavaWithNonConstInitializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ifConstVal_after.kt")
|
||||
public void testIfConstVal_after() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user