Nothing needs to be annotated with stability annotations for correctness, they’re basically just optimization hints. But I think the compose compiler should be able to infer stability for value classes.
t
Tash
09/08/2021, 5:49 PM
Great, thanks! Yeah, meant more along the lines of if one were to mark a regular data class as
@Immutable
, could that be omitted once converted to an inline value class.