12 lines
220 B
Kotlin
Vendored
12 lines
220 B
Kotlin
Vendored
package lib
|
|
|
|
inline fun anInlineFunction(crossinline crossInlineLamba: () -> Unit) {
|
|
Foo().apply {
|
|
barMethod { crossInlineLamba() }
|
|
}
|
|
}
|
|
|
|
class Foo {
|
|
fun barMethod(aLambda: () -> Unit) { aLambda() }
|
|
}
|