blob: 717d570f88d0cfe5e9f569a9dff3e3de4e533381 [file] [log] [blame]
class A {
fun foo() {
inlineFun { "test" }
}
inline fun inlineFun(crossinline lambda: () -> Unit) {
val s = object {
fun run() {
lambda()
}
}
s.run()
}
}