JVM_IR: Maintain annotations in SAM conversion.

Copy method and parameter annotations to the generated SAM
implementation method.
This commit is contained in:
Mads Ager
2019-06-03 15:12:00 +02:00
committed by max-kammerer
parent bf9dde5c32
commit 0c586ef5c1
7 changed files with 79 additions and 5 deletions
@@ -213,6 +213,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/annotations/annotatedLambda/samFunExpression.kt");
}
@TestMetadata("samFunReference.kt")
public void testSamFunReference() throws Exception {
runTest("compiler/testData/codegen/box/annotations/annotatedLambda/samFunReference.kt");
}
@TestMetadata("samLambda.kt")
public void testSamLambda() throws Exception {
runTest("compiler/testData/codegen/box/annotations/annotatedLambda/samLambda.kt");