KT-31649 Use 'Any#hashCode' in generated hashCode if class has none

This commit is contained in:
Dmitry Petrov
2020-03-06 11:51:15 +03:00
parent dc6be68a41
commit 71e4b0c9ad
6 changed files with 278 additions and 3 deletions
@@ -180,6 +180,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt");
}
@TestMetadata("kt31649.kt")
public void testKt31649() throws Exception {
runTest("compiler/testData/ir/irText/classes/kt31649.kt");
}
@TestMetadata("lambdaInDataClassDefaultParameter.kt")
public void testLambdaInDataClassDefaultParameter() throws Exception {
runTest("compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt");