smallshen
07/03/2025, 7:44 AM@Repr
value class DateT {
}
to
@JvmInline
value class DateT(val repr: REPR) {
}
I've successfully implement the add @JvmInline annotation, and adding a value parameter in constructor, but I'm having trouble declaring the val repr.
Should I do it in fir generation? or fir transform? I got VALUE_CLASS_CONSTRUCTOR_NOT_FINAL_READ_ONLY_PARAMETER, did I miss something, how do I properly create a property in Fir so it is a correct inline value class?