Get rid of deprecated annotations in testData
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
a public class Annotations private @a constructor(private @property:a @param:a val c1: Int, @property:a @param:a val c2: Int) {
|
||||
@a public class Annotations private @a constructor(private @property:a @param:a val c1: Int, @property:a @param:a val c2: Int) {
|
||||
|
||||
protected a fun f() {
|
||||
protected @a fun f() {
|
||||
}
|
||||
|
||||
private fun annotationWithVararg(a vararg i: Int) {}
|
||||
private fun annotationWithVararg(@a vararg i: Int) {}
|
||||
|
||||
b(E.E1) private val c: Int = 1
|
||||
@b(E.E1) private val c: Int = 1
|
||||
|
||||
a b(E.E2) public fun g(@a p1: E) {
|
||||
@a @b(E.E2) public fun g(@a p1: E) {
|
||||
}
|
||||
|
||||
var withCustomAccessors: Int = 0
|
||||
@@ -16,7 +16,7 @@ a public class Annotations private @a constructor(private @property:a @param:a v
|
||||
@a private set
|
||||
|
||||
|
||||
private b(E.E2) companion object {
|
||||
private @b(E.E2) companion object {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@ class SecondaryConstructors(x: Boolean) {
|
||||
init {
|
||||
}
|
||||
|
||||
anno constructor(x: String) : this(x == "abc") {
|
||||
@anno constructor(x: String) : this(x == "abc") {
|
||||
}
|
||||
|
||||
init {
|
||||
@@ -19,7 +19,7 @@ class SecondaryConstructors(x: Boolean) {
|
||||
}
|
||||
|
||||
class Nested {
|
||||
anno constructor(z: Int) {}
|
||||
@anno constructor(z: Int) {}
|
||||
internal constructor() {}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -4,7 +4,7 @@ import d.e.f.*
|
||||
|
||||
@property:a @property:b val i: Int = 0
|
||||
|
||||
a b fun f(@a @b p1: C): Int = 0
|
||||
@a @b fun f(@a @b p1: C): Int = 0
|
||||
|
||||
|
||||
class C
|
||||
Reference in New Issue
Block a user