data deprecations (empty constructors, non val/var arguments, vararg, superclasses) are now errors, relevant tests fixed
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package org.test
|
||||
|
||||
public data class SomeClass {
|
||||
public data class SomeClass(val arg: Any? = null) {
|
||||
|
||||
public val immutableProperty: Int = 5
|
||||
@java.lang.Deprecated get
|
||||
|
||||
Vendored
+5
@@ -8,4 +8,9 @@ f 2 0/SomeClass mutableProperty
|
||||
m 1 0/SomeClass getMutableProperty
|
||||
m 2 0/SomeClass getMutableProperty
|
||||
m 1 0/SomeClass setMutableProperty
|
||||
a org.jetbrains.annotations.Nullable 3
|
||||
f 3 0/SomeClass arg
|
||||
m 3 0/SomeClass getArg
|
||||
m 3 0/SomeClass component1
|
||||
m 2 0/SomeClass copy
|
||||
m 2 0/SomeClass copy$default
|
||||
|
||||
+4
@@ -8,5 +8,9 @@ m 2 SomeClass getAnnotatedProperty
|
||||
m 1 SomeClass annotatedFunction
|
||||
a kotlin.inline 3
|
||||
m 3 SomeClass annotatedFunction
|
||||
f 2 SomeClass arg
|
||||
m 2 SomeClass getArg
|
||||
m 2 SomeClass component1
|
||||
a org.jetbrains.annotations.NotNull 4
|
||||
m 4 SomeClass copy
|
||||
m 4 SomeClass copy$default
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
data public class SomeClass {
|
||||
data public class SomeClass(val arg: Any? = null) {
|
||||
|
||||
@java.lang.Deprecated public var annotatedProperty: String? = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user