Make PropertyMetadataImpl a data class

To allow property delegates to use property metadata as a key in the hash map,
and to improve debugging experience
This commit is contained in:
Alexander Udalov
2015-08-07 16:00:22 +03:00
parent ea292fa6d2
commit 9095fa2844
4 changed files with 48 additions and 2 deletions
@@ -2851,6 +2851,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("propertyMetadataEqualsHashCodeToString.kt")
public void testPropertyMetadataEqualsHashCodeToString() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/propertyMetadataEqualsHashCodeToString.kt");
doTest(fileName);
}
@TestMetadata("propertyMetadataShouldBeCached.kt")
public void testPropertyMetadataShouldBeCached() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/propertyMetadataShouldBeCached.kt");