is this supposed to work in kotlin-1.5.0-RC? ```@...
# announcements
p
is this supposed to work in kotlin-1.5.0-RC?
Copy code
@JvmInline
@Serializable
value class ProductId(val value: Int)
I get a huge stack trace with kotlinx.serialization when trying this I use:
Copy code
implementation("org.jetbrains.kotlinx", "kotlinx-serialization-json", "1.1.0")
above code works when using ‘inline class’ but I get a deprecation warning from the compiler that it will be replaced by ‘value class’
t
#C7A1U5PTM?
👍 1
a
This is a bug: https://youtrack.jetbrains.com/issue/KT-45783. I'll see if we can backport the fix into 1.5.0.
👍 1