data + open / inner / abstract / sealed are now forbidden

This commit is contained in:
Mikhail Glukhikh
2015-10-05 12:24:30 +03:00
committed by Mikhail Glukhikh
parent 3725ef8cdf
commit fff434d377
24 changed files with 16 additions and 188 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ interface Id<T> {
val id: T
}
open data class Actor (
data class Actor (
override val id: Int,
val firstName: String,
val lastName: String
+1 -1
View File
@@ -2,7 +2,7 @@ interface Id<T> {
val id: T
}
open data class Actor (
data class Actor (
id: Int,
val firstName: String,
val lastName: String