Support local function references in codegen
#KT-3704 In Progress #KT-1183 In Progress
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
fun box(): String {
|
||||
trait Named {
|
||||
fun name(): String
|
||||
}
|
||||
|
||||
enum class E : Named {
|
||||
OK
|
||||
}
|
||||
|
||||
return E.OK.(Named::name)()
|
||||
}
|
||||
Reference in New Issue
Block a user