Supported inlining functions which access properties via field.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package other
|
||||
|
||||
val property = ":)"
|
||||
|
||||
inline fun f(body: () -> Unit) {
|
||||
println("i'm inline function" + property)
|
||||
body()
|
||||
}
|
||||
Reference in New Issue
Block a user