Generate linenumber for inline call site in case of implicit iterator/hasNext/next calls in for loop

Otherwise -1 is generated in smap
This commit is contained in:
Mikhael Bogdanov
2021-01-20 16:53:57 +01:00
parent dfacccf84f
commit de00f72fa3
12 changed files with 115 additions and 0 deletions
@@ -3551,6 +3551,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTest("compiler/testData/codegen/boxInline/smap/defaultFunctionWithInlineCall.kt");
}
@TestMetadata("forInline.kt")
public void testForInline() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/forInline.kt");
}
@TestMetadata("interleavedFiles.kt")
public void testInterleavedFiles() throws Exception {
runTest("compiler/testData/codegen/boxInline/smap/interleavedFiles.kt");