https://kotlinlang.org logo
#announcements
Title
# announcements
d

Daniel

11/28/2019, 7:07 PM
This also happens when the sealed class has a overwritten equals method, it does'nt seem to matter (I omitted it here)
b

Burkhard

11/28/2019, 7:10 PM
This is intentional and has nothing to do with sealed classes. Data classes just don’t work with inheritance and they will only include properties in their primary constructor.
☝️ 1