JVM IR: Use inline SAM wrappers inside of inline lambdas

This commit is contained in:
Steven Schäfer
2020-10-28 12:04:32 +01:00
committed by Alexander Udalov
parent f2b8c67962
commit 36711a768b
5 changed files with 44 additions and 0 deletions
@@ -4396,6 +4396,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperForNullableInitialization.kt");
}
@TestMetadata("samWrapperInInlineLambda.kt")
public void testSamWrapperInInlineLambda() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperInInlineLambda.kt");
}
@TestMetadata("samWrapperOfLambda.kt")
public void testSamWrapperOfLambda() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/sam/samWrapperOfLambda.kt");