KT-13111: lambda --> reference support methods called via this now
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
class Owner(val z: Int) {
|
||||
fun foo(y: Int) = y + z
|
||||
val x = { y: Int -><caret> this.foo(y) }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
class Owner(val z: Int) {
|
||||
fun foo(y: Int) = y + z
|
||||
val x = this::foo
|
||||
}
|
||||
Reference in New Issue
Block a user