Support local function references in codegen
#KT-3704 In Progress #KT-1183 In Progress
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
fun box(): String {
|
||||
class A {
|
||||
var result: String = "Fail";
|
||||
{
|
||||
result = "OK"
|
||||
}
|
||||
}
|
||||
|
||||
return (::A)().result
|
||||
}
|
||||
Reference in New Issue
Block a user