diff --git a/compiler/testData/debug/stepping/kt42208.kt b/compiler/testData/debug/stepping/kt42208.kt new file mode 100644 index 00000000000..c24d7d0a840 --- /dev/null +++ b/compiler/testData/debug/stepping/kt42208.kt @@ -0,0 +1,19 @@ +// FILE: test.kt + +fun box() { + foo()() +} +// FILE: test1.kt +// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +inline fun foo() = { +} +// LINENUMBERS +// test.kt:4 box +// test1.kt:3 box +// test1.kt:4 box +// LINENUMBERS JVM_IR +// test.kt:4 box +// test1.kt:4 invoke +// test.kt:4 box +// LINENUMBERS +// test.kt:5 box \ No newline at end of file diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/IrSteppingTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/IrSteppingTestGenerated.java index 653fd46620b..67733e9ebee 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/IrSteppingTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/IrSteppingTestGenerated.java @@ -248,6 +248,12 @@ public class IrSteppingTestGenerated extends AbstractIrSteppingTest { runTest("compiler/testData/debug/stepping/inlineSimpleCall.kt"); } + @Test + @TestMetadata("kt42208.kt") + public void testKt42208() throws Exception { + runTest("compiler/testData/debug/stepping/kt42208.kt"); + } + @Test @TestMetadata("lambdaStepInline.kt") public void testLambdaStepInline() throws Exception { diff --git a/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/SteppingTestGenerated.java b/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/SteppingTestGenerated.java index b2ccbb9fb7e..a720f285ea7 100644 --- a/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/SteppingTestGenerated.java +++ b/compiler/tests-gen/org/jetbrains/kotlin/codegen/debugInformation/SteppingTestGenerated.java @@ -248,6 +248,12 @@ public class SteppingTestGenerated extends AbstractSteppingTest { runTest("compiler/testData/debug/stepping/inlineSimpleCall.kt"); } + @Test + @TestMetadata("kt42208.kt") + public void testKt42208() throws Exception { + runTest("compiler/testData/debug/stepping/kt42208.kt"); + } + @Test @TestMetadata("lambdaStepInline.kt") public void testLambdaStepInline() throws Exception {