[FE 1.0] Take care standalone lambdas during updating types in the builder inference
^KT-50520 Fixed
This commit is contained in:
committed by
teamcity
parent
c25e07119c
commit
b411eb36e8
@@ -0,0 +1,11 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND_FIR: JVM_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"
|
||||
}
|
||||
Reference in New Issue
Block a user