[NI] Use original descriptor for functions imported from object during JS mangling

^KT-35904 Fixed
This commit is contained in:
Victor Petukhov
2020-01-28 18:23:31 +03:00
parent fa924065ca
commit 4490efab3e
4 changed files with 35 additions and 4 deletions
@@ -2138,6 +2138,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
runTest("js/js.translator/testData/box/expression/function/manglingClashWithFunctionsWithoutParameters.kt");
}
@TestMetadata("manglingImportedFromObjectWithNI.kt")
public void testManglingImportedFromObjectWithNI() throws Exception {
runTest("js/js.translator/testData/box/expression/function/manglingImportedFromObjectWithNI.kt");
}
@TestMetadata("manglingStability.kt")
public void testManglingStability() throws Exception {
runTest("js/js.translator/testData/box/expression/function/manglingStability.kt");
@@ -2148,6 +2148,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
runTest("js/js.translator/testData/box/expression/function/manglingClashWithFunctionsWithoutParameters.kt");
}
@TestMetadata("manglingImportedFromObjectWithNI.kt")
public void testManglingImportedFromObjectWithNI() throws Exception {
runTest("js/js.translator/testData/box/expression/function/manglingImportedFromObjectWithNI.kt");
}
@TestMetadata("manglingStability.kt")
public void testManglingStability() throws Exception {
runTest("js/js.translator/testData/box/expression/function/manglingStability.kt");