Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardKotlinvalue class codegenSingle-choice MCQ

What does the Kotlin compiler generate alongside the unboxed representation of an `@JvmInline value class`, and what role do the synthetic `box-impl`/`unbox-impl` and `*-impl` static methods play?

@JvmInline value class Meters(val v: Double) { fun plus(o: Meters) = Meters(v + o.v) }