Deprecations: data class should now have at least one primary constructor parameter, parameters should be val / var and not vararg.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
@Target(AnnotationTarget.CLASS)
|
||||
annotation class base
|
||||
|
||||
@base data class My
|
||||
|
||||
@base data class My(val x: Int)
|
||||
Reference in New Issue
Block a user