Codegen for callable reference expressions
#KT-1183 In Progress
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
trait T {
|
||||
fun foo() = "OK"
|
||||
}
|
||||
|
||||
class B : T {
|
||||
inner class C {
|
||||
fun bar() = this@B.(::foo)()
|
||||
}
|
||||
}
|
||||
|
||||
fun box() = B().C().bar()
|
||||
Reference in New Issue
Block a user