Didn't find comprehensive list of what language constructs are considered stable by the compose compiler. Primitive types are mentioned, but what about e.g.
enum
and
object
?
a
Albert Chang
10/16/2024, 1:51 AM
They are no different than other classes. They are considered stable if all the members are stable.
d
dimsuz
10/16/2024, 10:28 AM
I see! So enums without members and simple objects are stable and do not need @Immutable annotation.