[JS IR BE] take into account receiver's type when generate name for callables (including properties)

Also, add special markers for receiver type and generic types to avoid accidental clashes.
This commit is contained in:
Zalim Bashorov
2018-08-17 20:31:06 +03:00
parent b9d6580b44
commit 0f6a77e700
4 changed files with 40 additions and 2 deletions
@@ -3434,6 +3434,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
public void testSimplePropertyWithGetter() throws Exception {
runTest("js/js.translator/testData/box/extensionProperty/simplePropertyWithGetter.kt");
}
@TestMetadata("withSameNameAndDiffReceiverType.kt")
public void testWithSameNameAndDiffReceiverType() throws Exception {
runTest("js/js.translator/testData/box/extensionProperty/withSameNameAndDiffReceiverType.kt");
}
}
@TestMetadata("js/js.translator/testData/box/incremental")
@@ -3434,6 +3434,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
public void testSimplePropertyWithGetter() throws Exception {
runTest("js/js.translator/testData/box/extensionProperty/simplePropertyWithGetter.kt");
}
@TestMetadata("withSameNameAndDiffReceiverType.kt")
public void testWithSameNameAndDiffReceiverType() throws Exception {
runTest("js/js.translator/testData/box/extensionProperty/withSameNameAndDiffReceiverType.kt");
}
}
@TestMetadata("js/js.translator/testData/box/incremental")