c34b417d0c
#KT-34744
13 lines
217 B
Plaintext
Vendored
13 lines
217 B
Plaintext
Vendored
// COMPILER_ARGUMENTS: -XXLanguage:+NewInference
|
|
// RUNTIME_WITH_FULL_JDK
|
|
|
|
import java.util.*
|
|
|
|
fun foo(f: () -> ArrayDeque<*>) {}
|
|
|
|
fun test() {
|
|
foo(fun(): ArrayDeque<*> {
|
|
return ArrayDeque<Int>()
|
|
})
|
|
}
|