JVM_IR: fix bound suspend-converted references

Note: inlining of adapted callable references is still suboptimal.

 #KT-42021 Fixed
This commit is contained in:
pyos
2020-09-22 11:53:29 +02:00
committed by max-kammerer
parent ac50433e17
commit 0e8a664c9b
12 changed files with 69 additions and 14 deletions
@@ -2227,6 +2227,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/bound.kt");
}
@TestMetadata("boundExtension.kt")
public void testBoundExtension() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/boundExtension.kt");
}
@TestMetadata("crossInline.kt")
public void testCrossInline() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/suspendConversion/crossInline.kt");