Kotlin Discussions
Is there a reason for not allowing inner+data classes?
Language Design
yole
April 27, 2017, 7:25pm
5
You can simply make it nested inside another class. Nested classes can be data classes.
show post in topic
Related topics
Topic
Replies
Views
Activity
Limitations for data class declaration?
3
1283
August 3, 2014
What's a best way to inherit data class?
1
3744
January 21, 2013
Subclassing a data class, copy method
7
6358
February 24, 2015
This inner enum doesn't compile
Support
1
1011
February 18, 2019
Destructive method call
Language Design
6
1850
January 17, 2018