Add test for generic setValue called via synthetic accessor
Synthetic accessor for 'setValue' was generated incorrectly, specific case of KT-20491 (Incorrect synthetic accessor generated for a generic base class function specialized with primitive type). Make sure there's no equivalent of KT-20387 for delegated properties.
This commit is contained in:
@@ -6923,6 +6923,12 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("genericSetValueViaSyntheticAccessor.kt")
|
||||
public void testGenericSetValueViaSyntheticAccessor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/genericSetValueViaSyntheticAccessor.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("getAsExtensionFun.kt")
|
||||
public void testGetAsExtensionFun() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/getAsExtensionFun.kt");
|
||||
|
||||
Reference in New Issue
Block a user