Use substituted return type for SAM adapeter of constructor

#KT-7282 Fixed
This commit is contained in:
Denis Zharkov
2015-07-17 12:38:44 +03:00
parent 97af85da9c
commit 58e7923218
4 changed files with 32 additions and 1 deletions
@@ -10059,6 +10059,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("samAdapterInConstructor.kt")
public void testSamAdapterInConstructor() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/platformTypes/samAdapterInConstructor.kt");
doTest(fileName);
}
@TestMetadata("samConstructor.kt")
public void testSamConstructor() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/platformTypes/samConstructor.kt");