Throw NPE instead of TypeCastException since 1.4
#KT-22275 In Progress
This commit is contained in:
+5
@@ -2696,6 +2696,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/casts/asSafeForConstants.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("asThrowsNpe_1_4.kt")
|
||||
public void testAsThrowsNpe_1_4() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/asThrowsNpe_1_4.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("asUnit.kt")
|
||||
public void testAsUnit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/casts/asUnit.kt");
|
||||
|
||||
Reference in New Issue
Block a user