Fix codegen of as-casts for nullable generics

This commit is contained in:
Alexander Udalov
2013-02-06 17:02:54 +04:00
parent 70f67c7993
commit 75f09b7527
3 changed files with 29 additions and 13 deletions
@@ -433,6 +433,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
blackBoxFileByFullPath("compiler/testData/codegen/box/casts/asSafe.kt");
}
@TestMetadata("castGenericNull.kt")
public void testCastGenericNull() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/box/casts/castGenericNull.kt");
}
@TestMetadata("is.kt")
public void testIs() throws Exception {
blackBoxFileByFullPath("compiler/testData/codegen/box/casts/is.kt");