https://kotlinlang.org logo
#feed
Title
# feed
s

Shreyas Patil

03/10/2022, 1:53 PM
g

Grégory Lureau

03/10/2022, 3:29 PM
Do you know why a data class with only immutable
val
is not considered as immutable by default?
1
s

Shreyas Patil

03/10/2022, 3:48 PM
Maybe because compiler can't detect whether class is data class or not
g

Grégory Lureau

03/10/2022, 4:29 PM
I have some doubts, since KSP provide this information, pretty sure Compose should have access too. 🤔