[FIR] Don't lose error level enhancements in warning-level-enhanced arguments
The error-level enhancement is kept as warning-level and a new LanguageFeature is introduced to turn the warning into an error. #KT-63208 Fixed #KT-63209
This commit is contained in:
committed by
Space Team
parent
9189154cae
commit
371b1eb3d5
+12
@@ -68,6 +68,18 @@ public class FirPsiOldFrontendForeignAnnotationsCompiledJavaTestGenerated extend
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/eclipse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorArgumentOfWarningAfter.kt")
|
||||
public void testErrorArgumentOfWarningAfter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/errorArgumentOfWarningAfter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorArgumentOfWarningBefore.kt")
|
||||
public void testErrorArgumentOfWarningBefore() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/errorArgumentOfWarningBefore.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findBugsSimple.kt")
|
||||
public void testFindBugsSimple() throws Exception {
|
||||
|
||||
+12
@@ -68,6 +68,18 @@ public class FirPsiOldFrontendForeignAnnotationsCompiledJavaWithPsiClassReadingT
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/eclipse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorArgumentOfWarningAfter.kt")
|
||||
public void testErrorArgumentOfWarningAfter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/errorArgumentOfWarningAfter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorArgumentOfWarningBefore.kt")
|
||||
public void testErrorArgumentOfWarningBefore() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/errorArgumentOfWarningBefore.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findBugsSimple.kt")
|
||||
public void testFindBugsSimple() throws Exception {
|
||||
|
||||
+12
@@ -68,6 +68,18 @@ public class FirPsiOldFrontendForeignAnnotationsSourceJavaTestGenerated extends
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/eclipse.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorArgumentOfWarningAfter.kt")
|
||||
public void testErrorArgumentOfWarningAfter() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/errorArgumentOfWarningAfter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("errorArgumentOfWarningBefore.kt")
|
||||
public void testErrorArgumentOfWarningBefore() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/foreignAnnotationsTests/tests/errorArgumentOfWarningBefore.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("findBugsSimple.kt")
|
||||
public void testFindBugsSimple() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user