JVM IR: Use INVOKESPECIAL instead of INVOKEVIRTUAL for default private

suspend functions.

 #KT-26592
This commit is contained in:
Ilmir Usmanov
2021-02-23 15:59:51 +01:00
parent 3ee62cb1b2
commit d44799fa78
6 changed files with 58 additions and 1 deletions
@@ -7517,6 +7517,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/funInterface.kt");
}
@TestMetadata("jvmDefault.kt")
public void ignoreJvmDefault() throws Exception {
runTest("compiler/testData/codegen/box/coroutines/featureIntersection/jvmDefault.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
}