Replace annotations with brackets in testData
Just in tests that changed after deprecation
This commit is contained in:
@@ -9,13 +9,13 @@ fun test() {
|
||||
|
||||
class MyClass() {
|
||||
public val test1: String = ""
|
||||
[deprecated("Use A instead")] get
|
||||
@deprecated("Use A instead") get
|
||||
|
||||
public var test2: String = ""
|
||||
[deprecated("Use A instead")] get
|
||||
@deprecated("Use A instead") get
|
||||
|
||||
deprecated("Use A instead") public val test3: String = ""
|
||||
[deprecated("Use A instead")] get
|
||||
@deprecated("Use A instead") get
|
||||
}
|
||||
|
||||
// NO_CHECK_INFOS
|
||||
|
||||
@@ -19,11 +19,11 @@ fun test() {
|
||||
|
||||
class MyClass() {
|
||||
public var test1: Int = 0
|
||||
[deprecated("Use A instead")] set
|
||||
@deprecated("Use A instead") set
|
||||
}
|
||||
|
||||
public var test2: Int = 0
|
||||
[deprecated("Use A instead")] set
|
||||
@deprecated("Use A instead") set
|
||||
|
||||
// NO_CHECK_INFOS
|
||||
// NO_CHECK_WEAK_WARNINGS
|
||||
Reference in New Issue
Block a user