8 lines
175 B
Kotlin
Vendored
8 lines
175 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
// KT-7383 Assertion failed when a star-projection of function type is used
|
|
|
|
fun foo() {
|
|
val f : Function1<*, *> = { x -> x.toString() }
|
|
f(1)
|
|
}
|