Psi2ir: support generic properties in class delegation

Since property accessor descriptors (unlike corresponding IR elements)
do not have type parameters, we need to take them from the corresponding
property to ensure the correct IR for delegated property accessors.
This commit is contained in:
Alexander Udalov
2019-12-11 16:30:31 +03:00
parent 025360edc4
commit 5f367278c1
13 changed files with 452 additions and 29 deletions
@@ -9952,6 +9952,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/delegation/diamond2.kt");
}
@TestMetadata("genericProperty.kt")
public void testGenericProperty() throws Exception {
runTest("compiler/testData/codegen/box/delegation/genericProperty.kt");
}
@TestMetadata("hiddenSuperOverrideIn1.0.kt")
public void testHiddenSuperOverrideIn1_0() throws Exception {
runTest("compiler/testData/codegen/box/delegation/hiddenSuperOverrideIn1.0.kt");