Don't optimize null checks for unsafe primitive type boxes as well

#KT-34829 Fixed
This commit is contained in:
Alexander Udalov
2019-11-08 18:54:33 +01:00
parent b80e157381
commit 228fdb4436
5 changed files with 37 additions and 2 deletions
@@ -17925,6 +17925,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/platformTypes/unsafeNullCheck.kt");
}
@TestMetadata("unsafeNullCheckWithPrimitive.kt")
public void testUnsafeNullCheckWithPrimitive() throws Exception {
runTest("compiler/testData/codegen/box/platformTypes/unsafeNullCheckWithPrimitive.kt");
}
@TestMetadata("compiler/testData/codegen/box/platformTypes/primitives")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)