Check return type when locating method in reflection

#KT-11824 Fixed
This commit is contained in:
Alexander Udalov
2016-06-17 12:42:35 +03:00
parent bafe8e55ce
commit 311301f430
3 changed files with 62 additions and 36 deletions
@@ -11190,6 +11190,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("propertyGetterAndGetFunctionDifferentReturnType.kt")
public void testPropertyGetterAndGetFunctionDifferentReturnType() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/propertyGetterAndGetFunctionDifferentReturnType.kt");
doTest(fileName);
}
@TestMetadata("returnUnit.kt")
public void testReturnUnit() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/call/returnUnit.kt");