Fix data class equals codegen for type parameters with interface bounds

#KT-24474 Fixed
This commit is contained in:
Alexander Udalov
2018-05-18 12:18:35 +02:00
parent 542b2abafa
commit e7f6ac1e50
6 changed files with 45 additions and 12 deletions
@@ -7941,6 +7941,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testSameinstance() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/equals/sameinstance.kt");
}
@TestMetadata("typeParameterWithInterfaceBound.kt")
public void testTypeParameterWithInterfaceBound() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/equals/typeParameterWithInterfaceBound.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/dataClasses/hashCode")