Piotr Krzemiński
11/21/2022, 10:10 AMvalue class in a multiplatform project? Previously I used inline class but I see it’s deprecated now. Using value class produces an error “Value classes without @JvmInline annotation are not supported yet” and I cannot use @JvmInline in a multiplatform project obviously. What’s the recommended path forward? Keep using inline class? What’s the plan of proper multiplatform support for value class?
Once we clarify all of it, I’ll propose some changes to the docs: https://kotlinlang.org/docs/inline-classes.htmlhfhbd
11/21/2022, 10:16 AMPiotr Krzemiński
11/21/2022, 10:17 AMJohann Pardanaud
11/21/2022, 10:19 AM@JsExportPiotr Krzemiński
11/21/2022, 10:20 AMPiotr Krzemiński
11/21/2022, 10:47 AMCLOVIS
11/28/2022, 1:05 PMvalue class currently does nothing on non-JVM platforms, it's just here for forward compatibility for when it will do somethingPiotr Krzemiński
11/28/2022, 1:06 PMinline classCLOVIS
11/28/2022, 1:07 PMinline modifier and replaced it with @JvmInlineCLOVIS
11/28/2022, 1:09 PM