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

A `@JvmInline value class Meters(val v: Double)` declares `fun plus(other: Meters): Meters`. How does the compiler name-mangle this method in the generated bytecode, and why?

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