Fix translation of copy() fun in data class

Fix translation of copy() function in data class which has secondary
constructor in JS BE. See KT-16717.
This commit is contained in:
Alexey Andreev
2017-03-20 15:15:12 +03:00
committed by Alexey Andreev
parent b46205f60b
commit 466540399c
6 changed files with 50 additions and 1 deletions
@@ -5787,6 +5787,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/dataClasses/copy/withGenericParameter.kt");
doTest(fileName);
}
@TestMetadata("withSecondaryConstructor.kt")
public void testWithSecondaryConstructor() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/dataClasses/copy/withSecondaryConstructor.kt");
doTest(fileName);
}
}
@TestMetadata("compiler/testData/codegen/box/dataClasses/equals")