Codegen for callable reference expressions
#KT-1183 In Progress
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
var result = "Fail"
|
||||
|
||||
fun foo() {
|
||||
result = "OK"
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val x = ::foo
|
||||
x()
|
||||
return result
|
||||
}
|
||||
Reference in New Issue
Block a user