JVM_IR: cast bound property receivers to original type
Because the receiver type is used for determining where to put accessors, and the type of fake overrides' receivers is the same as for the original declaration, casting to the type of the parameter leads to assertion errors. #KT-44658 Fixed
This commit is contained in:
Generated
+6
@@ -39388,6 +39388,12 @@ public class VisualizerBlackBoxTestGenerated extends AbstractVisualizerBlackBoxT
|
||||
runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForProtectedInvokeVirtual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("accessorForProtectedPropertyReference.kt")
|
||||
public void testAccessorForProtectedPropertyReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForProtectedPropertyReference.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInSyntheticAccessors() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/syntheticAccessors"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
|
||||
Reference in New Issue
Block a user