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:
+5
@@ -3151,6 +3151,11 @@ public class IrJsCodegenInlineES6TestGenerated extends AbstractIrJsCodegenInline
|
||||
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");
|
||||
|
||||
Generated
+5
@@ -3151,6 +3151,11 @@ public class IrJsCodegenInlineTestGenerated extends AbstractIrJsCodegenInlineTes
|
||||
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");
|
||||
|
||||
Generated
+5
@@ -3151,6 +3151,11 @@ public class JsCodegenInlineTestGenerated extends AbstractJsCodegenInlineTest {
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user