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:
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user