Fix for KT-6312: Compiler crashes accessing inherited property of class object

#KT-6312 Fixed
This commit is contained in:
Michael Bogdanov
2014-11-24 12:41:56 +03:00
parent 1e9d303705
commit 8fc3a37989
4 changed files with 40 additions and 3 deletions
@@ -6241,6 +6241,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("inheritedPropertyInClassObject.kt")
public void testInheritedPropertyInClassObject() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/staticFields/inheritedPropertyInClassObject.kt");
doTest(fileName);
}
@TestMetadata("inheritedPropertyInObject.kt")
public void testInheritedPropertyInObject() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/staticFields/inheritedPropertyInObject.kt");
doTest(fileName);
}
@TestMetadata("syntheticAccessor.kt")
public void testSyntheticAccessor() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/staticFields/syntheticAccessor.kt");