78ca733c38
except tests that are not possible to add without some modifications in the test infra. See todos on the commented-out test declarations
11 lines
262 B
Kotlin
Vendored
11 lines
262 B
Kotlin
Vendored
// WITH_STDLIB
|
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
|
// FIR status: different behavour with FE 1.0, reported `NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER`
|
|
|
|
fun box(): String {
|
|
buildList {
|
|
val foo = { first() }
|
|
add(0, foo)
|
|
}
|
|
return "OK"
|
|
} |