KT-2752: fix translation of call to internal function from subclass

This commit is contained in:
Alexey Andreev
2016-10-07 15:31:28 +03:00
parent c814a9d1d2
commit 322f6fe7ac
4 changed files with 33 additions and 3 deletions
@@ -2439,6 +2439,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("internalFunctionFromSuperclass.kt")
public void testInternalFunctionFromSuperclass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/expression/invoke/internalFunctionFromSuperclass.kt");
doTest(fileName);
}
@TestMetadata("invokeInExtensionFunctionLiteral.kt")
public void testInvokeInExtensionFunctionLiteral() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/expression/invoke/invokeInExtensionFunctionLiteral.kt");