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
@@ -0,0 +1,6 @@
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
fun box(): String {
return if (run { 123 != intArrayOf() as Any }) "OK" else "Fail"
}