9 lines
176 B
Kotlin
Vendored
9 lines
176 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !CHECK_TYPE
|
|
fun <T> id(t: T) = t
|
|
|
|
fun foo() {
|
|
val i = id { 22 } //type inference error: no information for parameter
|
|
i checkType { _<()->Int>() }
|
|
}
|