JS: fix exception during translation of for expression with iterator having generic type constrained by Iterable. Fix #KT-8385
This commit is contained in:
@@ -2094,6 +2094,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("forIteratesOverTypeParameter.kt")
|
||||
public void testForIteratesOverTypeParameter() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/expression/for/forIteratesOverTypeParameter.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("forOnEmptyArray.kt")
|
||||
public void testForOnEmptyArray() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("js/js.translator/testData/box/expression/for/forOnEmptyArray.kt");
|
||||
|
||||
Reference in New Issue
Block a user