Lambda --> reference supports bound references now #KT-13111 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-03-09 16:29:15 +03:00
parent 831467891c
commit 3a14a5c461
12 changed files with 126 additions and 31 deletions
@@ -0,0 +1,9 @@
// IS_APPLICABLE: true
class Owner(val z: Int) {
fun foo(y: Int) = y + z
}
val owner = Owner(42)
val x = { arg: Int <caret> -> owner.foo(arg) }