Fix ClassCastException with nullable chars

#KT-4210 Fixed
 #KT-4098 Fixed
 #KT-4251 Fixed
This commit is contained in:
Alexander Udalov
2013-12-02 23:34:32 +04:00
parent dab9d69a40
commit fa7076a4fa
6 changed files with 70 additions and 4 deletions
@@ -3807,6 +3807,21 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/primitiveTypes/kt3576.kt");
}
@TestMetadata("kt4098.kt")
public void testKt4098() throws Exception {
doTest("compiler/testData/codegen/box/primitiveTypes/kt4098.kt");
}
@TestMetadata("kt4210.kt")
public void testKt4210() throws Exception {
doTest("compiler/testData/codegen/box/primitiveTypes/kt4210.kt");
}
@TestMetadata("kt4251.kt")
public void testKt4251() throws Exception {
doTest("compiler/testData/codegen/box/primitiveTypes/kt4251.kt");
}
@TestMetadata("kt446.kt")
public void testKt446() throws Exception {
doTest("compiler/testData/codegen/box/primitiveTypes/kt446.kt");
@@ -3892,6 +3907,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/primitiveTypes/nullAsNullableIntIsNull.kt");
}
@TestMetadata("nullableCharBoolean.kt")
public void testNullableCharBoolean() throws Exception {
doTest("compiler/testData/codegen/box/primitiveTypes/nullableCharBoolean.kt");
}
@TestMetadata("unboxComparable.kt")
public void testUnboxComparable() throws Exception {
doTest("compiler/testData/codegen/box/primitiveTypes/unboxComparable.kt");