[FE 1.0] Don't try to compute value parameters for variables while creating a flat signature for the overload resolution
^KT-50172 Fixed
This commit is contained in:
committed by
teamcity
parent
c998582e13
commit
e50e055eb4
@@ -0,0 +1,11 @@
|
||||
// WITH_STDLIB
|
||||
|
||||
fun g(s: String): List<String> {
|
||||
fun f(x: String): String = x + "K"
|
||||
|
||||
val f = f(s)
|
||||
return listOf(s).map(::f)
|
||||
}
|
||||
|
||||
fun box(): String =
|
||||
g("O").first()
|
||||
Reference in New Issue
Block a user