Do not generate generic signature for SAM wrapper methods

#KT-23870 Fixed
This commit is contained in:
Alexander Udalov
2018-07-19 20:37:29 +02:00
parent ac6874c221
commit 20ddbc9698
7 changed files with 132 additions and 9 deletions
@@ -17601,6 +17601,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/reflection/genericSignature/defaultImplsGenericSignature.kt");
}
@TestMetadata("delegatedMembers.kt")
public void testDelegatedMembers() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/delegatedMembers.kt");
}
@TestMetadata("functionLiteralGenericSignature.kt")
public void testFunctionLiteralGenericSignature() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/functionLiteralGenericSignature.kt");
@@ -17631,6 +17636,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/reflection/genericSignature/kt6106.kt");
}
@TestMetadata("samWrappedLambdaVsReference.kt")
public void testSamWrappedLambdaVsReference() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/samWrappedLambdaVsReference.kt");
}
@TestMetadata("signatureOfDeepGenericInner.kt")
public void testSignatureOfDeepGenericInner() throws Exception {
runTest("compiler/testData/codegen/box/reflection/genericSignature/signatureOfDeepGenericInner.kt");