Get rid of deprecated annotations in testData
This commit is contained in:
@@ -2,10 +2,10 @@ package test
|
||||
|
||||
import dependency.*
|
||||
|
||||
data A("a") B(1) C class Annotations {
|
||||
data @A("a") @B(1) @C class Annotations {
|
||||
|
||||
inline A("f") B(2) C fun f(A("i") B(3) C Deprecated("1") i: @A("int") Int) {
|
||||
inline @A("f") @B(2) @C fun f(@A("i") @B(3) @C @Deprecated("1") i: @A("int") Int) {
|
||||
}
|
||||
|
||||
inline A("p") B(3) C val p: @B(4) Int = 2
|
||||
inline @A("p") @B(3) @C val p: @B(4) Int = 2
|
||||
}
|
||||
|
||||
+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() {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user