data + open / inner / abstract / sealed are now forbidden
This commit is contained in:
committed by
Mikhail Glukhikh
parent
3725ef8cdf
commit
fff434d377
+3
-1
@@ -1,4 +1,6 @@
|
||||
open data class A(val value: String)
|
||||
open class A(val value: String) {
|
||||
fun component1() = value
|
||||
}
|
||||
|
||||
interface B {
|
||||
fun component1(): Any
|
||||
|
||||
Reference in New Issue
Block a user