diff --git a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt index c02d0122678..e6be182814b 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JVM // See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt" - +// IGNORE_LIGHT_ANALYSIS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME @@ -15,4 +15,4 @@ fun box(): String { fun sum(i: UInt, z: UInt?): UInt { return i + z!! -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt index e200d232a33..bef0270964f 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JVM // See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt" - +// IGNORE_LIGHT_ANALYSIS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME @@ -15,4 +15,4 @@ fun box(): String { fun sum(i: UInt, z: UInt?): UInt { return i + z!! -} \ No newline at end of file +} diff --git a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt index f131cbf25bc..f1646d783e0 100644 --- a/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt +++ b/compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt @@ -1,6 +1,6 @@ // IGNORE_BACKEND: JVM // See KT-38833: Runtime exception is "java.lang.ClassCastException: java.lang.Integer cannot be cast to kotlin.UInt" - +// IGNORE_LIGHT_ANALYSIS // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME @@ -14,4 +14,4 @@ fun box(): String { fun sum(i: UInt, z: UInt?): UInt { return i + z!! -} \ No newline at end of file +} diff --git a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java index 4b00adcb5f8..198a7cccb95 100644 --- a/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java +++ b/compiler/tests/org/jetbrains/kotlin/codegen/LightAnalysisModeTestGenerated.java @@ -23644,6 +23644,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes @TestDataPath("$PROJECT_ROOT") @RunWith(JUnit3RunnerWithInners.class) public static class NullableLoopParameter extends AbstractLightAnalysisModeTest { + @TestMetadata("progressionExpression.kt") + public void ignoreProgressionExpression() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt"); + } + + @TestMetadata("rangeExpression.kt") + public void ignoreRangeExpression() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt"); + } + + @TestMetadata("rangeLiteral.kt") + public void ignoreRangeLiteral() throws Exception { + runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt"); + } + private void runTest(String testDataFilePath) throws Exception { KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath); } @@ -23651,21 +23666,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes public void testAllFilesPresentInNullableLoopParameter() throws Exception { KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true); } - - @TestMetadata("progressionExpression.kt") - public void testProgressionExpression() throws Exception { - runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/progressionExpression.kt"); - } - - @TestMetadata("rangeExpression.kt") - public void testRangeExpression() throws Exception { - runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeExpression.kt"); - } - - @TestMetadata("rangeLiteral.kt") - public void testRangeLiteral() throws Exception { - runTest("compiler/testData/codegen/box/ranges/unsigned/nullableLoopParameter/rangeLiteral.kt"); - } } } }