JVM_IR: generate $suspendImpl in interfaces as public

The visibility was the cause of KT-44533; not generating `$suspendImpl`
at all makes `super` calls impossible.

^KT-49106 Fixed
This commit is contained in:
pyos
2021-10-06 12:04:02 +02:00
committed by Ilmir Usmanov
parent b7cfbf031c
commit 1c3a20fab9
6 changed files with 62 additions and 2 deletions
@@ -20618,6 +20618,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/kt42967_all.kt");
}
@TestMetadata("suspendSuperCall.kt")
public void ignoreSuspendSuperCall() throws Exception {
runTest("compiler/testData/codegen/box/jvm8/defaults/noDefaultImpls/suspendSuperCall.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}