Fix regression in reflection on looking up equals/hashCode/toString in interface

Caused by 4266e50be8 and 8ccbbf71ec. Previously it worked because we
used hardcoded signatures of equals/hashCode/toString and always looked
them up in java.lang.Object

 #KT-25404 Fixed
This commit is contained in:
Alexander Udalov
2018-07-11 17:21:21 +02:00
parent 1f4dfbf5f3
commit 66b383349f
5 changed files with 61 additions and 2 deletions
@@ -17633,6 +17633,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/reflection/mapping/memberProperty.kt");
}
@TestMetadata("methodsFromObject.kt")
public void testMethodsFromObject() throws Exception {
runTest("compiler/testData/codegen/box/reflection/mapping/methodsFromObject.kt");
}
@TestMetadata("openSuspendFun.kt")
public void testOpenSuspendFun() throws Exception {
runTest("compiler/testData/codegen/box/reflection/mapping/openSuspendFun.kt");