FIR: Fix OverloadResolutionByLambdaReturnType case
This commit is contained in:
committed by
TeamCityServer
parent
1c48fb28db
commit
32dacc37c0
@@ -0,0 +1,12 @@
|
||||
// WITH_RUNTIME
|
||||
// FULL_JDK
|
||||
|
||||
fun box(): String {
|
||||
val w = listOf(1, 2)
|
||||
|
||||
val r = w.sumOf { x -> run { x } }
|
||||
|
||||
if (r != 3) return "fail 1: $r"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user