[JVM_IR] Properly handle inlined local var located in regenerated object

#KT-58778
This commit is contained in:
Ivan Kylchik
2023-06-28 17:06:18 +02:00
committed by Space Team
parent 17e49fce75
commit ecd20b1348
11 changed files with 259 additions and 12 deletions
@@ -67,6 +67,12 @@ public class IrJsLocalVariableTestGenerated extends AbstractIrJsLocalVariableTes
runTest("compiler/testData/debug/localVariables/forLoopMultiline.kt");
}
@Test
@TestMetadata("inlineFunInObject.kt")
public void testInlineFunInObject() throws Exception {
runTest("compiler/testData/debug/localVariables/inlineFunInObject.kt");
}
@Test
@TestMetadata("inlineProperty.kt")
public void testInlineProperty() throws Exception {
@@ -79,6 +85,12 @@ public class IrJsLocalVariableTestGenerated extends AbstractIrJsLocalVariableTes
runTest("compiler/testData/debug/localVariables/jsCode.kt");
}
@Test
@TestMetadata("lambdaInObject.kt")
public void testLambdaInObject() throws Exception {
runTest("compiler/testData/debug/localVariables/lambdaInObject.kt");
}
@Test
@TestMetadata("lambdaWithLambdaParameter.kt")
public void testLambdaWithLambdaParameter() throws Exception {