K2: reproduce KT-54917

This commit is contained in:
Mikhail Glukhikh
2023-06-12 15:15:42 +02:00
committed by Space Team
parent 1c89a7e400
commit 7884d9a61e
8 changed files with 56 additions and 0 deletions
@@ -0,0 +1,9 @@
// WITH_STDLIB
// FIR_DUMP
fun foo() {
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.collections.List<IOT>")!>foo(1 to 2)<!>
val x = foo(3 to 4)
}
fun <T : Comparable<T>> foo(vararg values: Pair<T, T>): List<T> = TODO()