Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardKotlinJVM bytecode for inline functionsSingle-choice MCQ

What is the purpose of the `crossinline` modifier on an inline function parameter, and what bytecode-level guarantee does it enforce?

inline fun runLater(crossinline block: () -> Unit) { val r = Runnable { block() } r.run() }