Don't optimize null checks for unsafe primitive type boxes as well
#KT-34829 Fixed
This commit is contained in:
+5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user