Fix for KT-16732: Type 'java/lang/Number' (current frame, stack[0]) is not assignable to 'java/lang/Character

#KT-16732 Fixed
This commit is contained in:
Mikhael Bogdanov
2017-03-08 11:20:45 +01:00
parent 32bdb6becb
commit 5e80d80797
7 changed files with 53 additions and 5 deletions
@@ -13183,6 +13183,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("kt16732.kt")
public void testKt16732() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/primitiveTypes/kt16732.kt");
doTest(fileName);
}
@TestMetadata("kt2251.kt")
public void testKt2251() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/primitiveTypes/kt2251.kt");