JVM_IR: add coercion for index in ArrayGet intrinsic

This commit is contained in:
Georgy Bronnikov
2019-12-17 15:50:36 +03:00
parent cca3f13e48
commit 220ea72d65
9 changed files with 50 additions and 2 deletions
@@ -18693,6 +18693,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/primitiveTypes/nullAsNullableIntIsNull.kt");
}
@TestMetadata("nullableAsIndex.kt")
public void testNullableAsIndex() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/nullableAsIndex.kt");
}
@TestMetadata("nullableCharBoolean.kt")
public void testNullableCharBoolean() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/nullableCharBoolean.kt");