KT-47823 IR.JVM Fix handling of for loop ranges with inline types and break/continue/return

This commit is contained in:
Pavel Mikhailovskii
2022-06-08 15:55:11 +02:00
committed by teamcity
parent ecb3cc193c
commit bcd8a28d4c
10 changed files with 63 additions and 0 deletions
@@ -16723,6 +16723,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineClasses/kt47762Generic.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
}
@Test
@TestMetadata("kt47823.kt")
public void testKt47823() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt47823.kt");
}
@Test
@TestMetadata("kt51157.kt")
public void testKt51157() throws Exception {
@@ -16687,6 +16687,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/inlineClasses/kt47762Generic.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
}
@Test
@TestMetadata("kt47823.kt")
public void testKt47823() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt47823.kt");
}
@Test
@TestMetadata("kt51157.kt")
public void testKt51157() throws Exception {
@@ -14776,6 +14776,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/inlineClasses/kt47762Generic.kt", TransformersFunctions.getRemoveOptionalJvmInlineAnnotation());
}
@TestMetadata("kt47823.kt")
public void testKt47823() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt47823.kt");
}
@TestMetadata("kt51157.kt")
public void testKt51157() throws Exception {
runTest("compiler/testData/codegen/box/inlineClasses/kt51157.kt");