JVM, JVM_IR: KT-42281 proper array->primitive coercion

This commit is contained in:
Dmitry Petrov
2020-11-20 12:42:48 +03:00
parent e59c8e0a5c
commit b495fd542f
11 changed files with 53 additions and 4 deletions
@@ -22566,6 +22566,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/intEqualsNullableIntWithSmartCasts.kt");
}
@TestMetadata("kt42281.kt")
public void testKt42281() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/kt42281.kt");
}
@TestMetadata("objectWithAsymmetricEqualsEqPrimitive.kt")
public void testObjectWithAsymmetricEqualsEqPrimitive() throws Exception {
runTest("compiler/testData/codegen/box/primitiveTypes/equalityWithObject/objectWithAsymmetricEqualsEqPrimitive.kt");