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

For an inline function `inline fun f(noinline g: () -> Unit, h: () -> Unit)`, how do `g` and `h` differ in the generated bytecode of a caller `f({ a() }, { b() })`?

inline fun f(noinline g: () -> Unit, h: () -> Unit) { g() h() } f({ a() }, { b() })