FIR: Fix OverloadResolutionByLambdaReturnType case

This commit is contained in:
Denis.Zharkov
2021-04-14 11:19:01 +03:00
committed by TeamCityServer
parent 1c48fb28db
commit 32dacc37c0
11 changed files with 60 additions and 6 deletions
@@ -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"
}