[JS IR] Fix callable reference to generic constructor

- add tests
 - fix KT-42025
This commit is contained in:
Roman Artemev
2020-09-23 14:38:12 +03:00
parent 4da67bf013
commit 6670e4b21d
9 changed files with 158 additions and 2 deletions
@@ -2023,6 +2023,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/callableReference/classesAreSynthetic.kt");
}
@TestMetadata("genericConstructorReference.kt")
public void testGenericConstructorReference() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/genericConstructorReference.kt");
}
@TestMetadata("kt37604.kt")
public void testKt37604() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/kt37604.kt");