JS: fix capturing of reified type parameters when used as class literals

See KT-19891
This commit is contained in:
Alexey Andreev
2017-09-07 17:01:06 +03:00
parent 03ce6d859f
commit 206369c088
8 changed files with 136 additions and 24 deletions
@@ -7268,6 +7268,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
doTest(fileName);
}
@TestMetadata("capture.kt")
public void testCapture() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/reified/capture.kt");
doTest(fileName);
}
@TestMetadata("extensionFun.kt")
public void testExtensionFun() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/reified/extensionFun.kt");