JS: Fix ClassCastException that occurs when 'when' clause has map range #KT-23458 Fixed
This commit is contained in:
committed by
Anton Bannykh
parent
65ba57bcae
commit
84e49e5b57
+5
@@ -3202,6 +3202,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/expression/when/whenWithLongRangeClause.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenWithMapRangeClause.kt")
|
||||
public void testWhenWithMapRangeClause() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/whenWithMapRangeClause.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenWithOneStmWhen.kt")
|
||||
public void testWhenWithOneStmWhen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/whenWithOneStmWhen.kt");
|
||||
|
||||
+5
@@ -3202,6 +3202,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/expression/when/whenWithLongRangeClause.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenWithMapRangeClause.kt")
|
||||
public void testWhenWithMapRangeClause() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/whenWithMapRangeClause.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("whenWithOneStmWhen.kt")
|
||||
public void testWhenWithOneStmWhen() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/when/whenWithOneStmWhen.kt");
|
||||
|
||||
Reference in New Issue
Block a user