Kotlin 2.1 @JvmInline value class silently heap-boxes when a nullable value class wraps a nullable or generic type Box<T?>?
Language: Kotlin · Versions: Kotlin 2.1.0 (JVM target 21) The problem I defined an @JvmInline value class Outcome<out T(val rawValue: Any?) (similar to kotlin.Result<T) or a…
2 posts ·