K2: change logic of result type search in ILT case

Related to KT-57487, KT-57703
This commit is contained in:
Mikhail Glukhikh
2023-03-30 12:13:32 +02:00
committed by Space Team
parent 27c4a7b7ef
commit 08c22c388c
10 changed files with 128 additions and 7 deletions
-2
View File
@@ -1,8 +1,6 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// (type mismatch)
// IGNORE_BACKEND_K2: JVM_IR
// (CCE in select)
// WITH_STDLIB
fun <A : Comparable<A>> arrayData(vararg values: A): A = values.first()