JS: fix KT-37386
Anonymous object constructor parameters should not reuse JsName's of the super class. Otherwise the temporary name renamer gets confused.
This commit is contained in:
+5
@@ -6243,6 +6243,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/objectDeclaration/kt3684.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt37386.kt")
|
||||
public void testKt37386() throws Exception {
|
||||
runTest("js/js.translator/testData/box/objectDeclaration/kt37386.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaInObjectInsideObject.kt")
|
||||
public void testLambdaInObjectInsideObject() throws Exception {
|
||||
runTest("js/js.translator/testData/box/objectDeclaration/lambdaInObjectInsideObject.kt");
|
||||
|
||||
+5
@@ -6263,6 +6263,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/objectDeclaration/kt3684.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt37386.kt")
|
||||
public void testKt37386() throws Exception {
|
||||
runTest("js/js.translator/testData/box/objectDeclaration/kt37386.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("lambdaInObjectInsideObject.kt")
|
||||
public void testLambdaInObjectInsideObject() throws Exception {
|
||||
runTest("js/js.translator/testData/box/objectDeclaration/lambdaInObjectInsideObject.kt");
|
||||
|
||||
Reference in New Issue
Block a user