data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed
This commit is contained in:
@@ -12,7 +12,7 @@ internal data class A1(val prop1: String) {
|
||||
fun f(): String = "$prop1#$prop2#$prop3"
|
||||
}
|
||||
|
||||
internal data class A2 private constructor() {
|
||||
internal class A2 private constructor() {
|
||||
var prop1: String = ""
|
||||
var prop2: String = "const2"
|
||||
var prop3: String = ""
|
||||
|
||||
Reference in New Issue
Block a user