Lambda --> reference supports bound references now #KT-13111 Fixed
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
// IS_APPLICABLE: true
|
||||
|
||||
class Owner(val z: Int) {
|
||||
fun foo(y: Int) = y + z
|
||||
// Possible only in 1.1 with bound references (this::foo)
|
||||
val x = { arg: Int <caret> -> foo(arg) }
|
||||
}
|
||||
Reference in New Issue
Block a user