KT-16684 hashCode doesn't check data class property value of generic type for null

This commit is contained in:
Dmitry Petrov
2017-03-06 18:25:36 +03:00
parent 68fab55251
commit 1bbbc1ca1c
6 changed files with 188 additions and 5 deletions
@@ -74,6 +74,12 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
doTest(fileName);
}
@TestMetadata("dataClassesGeneric.kt")
public void testDataClassesGeneric() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/classes/dataClassesGeneric.kt");
doTest(fileName);
}
@TestMetadata("delegatedImplementation.kt")
public void testDelegatedImplementation() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/classes/delegatedImplementation.kt");