[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:
+5
@@ -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")
|
||||
|
||||
+5
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user