JVM_IR: generate continuation classes for suspend inline references

This is somewhat suboptimal since this results in `::suspendInline`
generating 2 classes while `{ suspendInline() }` only creates 1, but
it's the best allowed by the existing hierarchy of classes in stdlib. At
least it works?

^KT-50832 Fixed
This commit is contained in:
pyos
2022-05-09 14:28:44 +02:00
committed by teamcity
parent 9f31f074da
commit b19b265735
11 changed files with 82 additions and 4 deletions
@@ -7566,6 +7566,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/coroutines/suspendFunctionAsSupertype.kt");
}
@TestMetadata("suspendInlineReference.kt")
public void ignoreSuspendInlineReference() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/suspendInlineReference.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}