Reference --> lambda supports bound references now #KT-16292 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// IS_APPLICABLE: true
|
||||
// WITH_RUNTIME
|
||||
val list = listOf(1, 2, 3).map { Utils.foo(it) }
|
||||
|
||||
object Utils {
|
||||
fun foo(x: Int) = x
|
||||
}
|
||||
Reference in New Issue
Block a user