rra/ilgonmic/export-call-site

[JS IR] Add test with exported overridden property from interface

[JS IR] Accessors should not be exported when overridden from non-exported interface

Merge-request: KT-MR-6166
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>

^KT-52144 fixed
This commit is contained in:
Ilya Goncharov
2022-04-29 12:13:09 +00:00
committed by Space
parent cdb5845693
commit 1fc7fbed79
4 changed files with 77 additions and 34 deletions
@@ -2568,6 +2568,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/export/overriddenExternalMethodWithSameStableNameMethod.kt");
}
@Test
@TestMetadata("overriddenPropertyFromInterface.kt")
public void testOverriddenPropertyFromInterface() throws Exception {
runTest("js/js.translator/testData/box/export/overriddenPropertyFromInterface.kt");
}
@Test
@TestMetadata("overridenMethod.kt")
public void testOverridenMethod() throws Exception {