[Reflection] Use reference equality to determine that a callable reference is bound
It helps to avoid problems when receiver object implements structural equals violating the equality contract #KT-60709
This commit is contained in:
committed by
Space Team
parent
64f90f685d
commit
291d52820c
+5
@@ -35884,6 +35884,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/jvmStaticInObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt60709.kt")
|
||||
public void testKt60709() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/kt60709.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt61304.kt")
|
||||
public void testKt61304() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/kt61304.kt");
|
||||
|
||||
Reference in New Issue
Block a user