[PSI2IR] Do not generate property reference setter if inaccessible.
Fixes KT-45064.
This commit is contained in:
committed by
Alexander Udalov
parent
d44799fa78
commit
8852323a76
+5
@@ -3094,6 +3094,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/callableReference/property/accessViaSubclass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("accessorForPropertyWithPrivateSetter.kt")
|
||||
public void testAccessorForPropertyWithPrivateSetter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/property/accessorForPropertyWithPrivateSetter.kt");
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInProperty() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/property"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user