Replace annotations with brackets in testData

Just in tests that changed after deprecation
This commit is contained in:
Denis Zharkov
2015-05-06 14:58:59 +03:00
parent 5bc7c9600f
commit 849b8acbf8
87 changed files with 224 additions and 224 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ fun <info descr="null">bar</info>(<info descr="null">block</info>: () -> <info d
<info descr="null" textAttributesKey="KOTLIN_BUILTIN_ANNOTATION">@private</info>
fun <info descr="null">foo</info>() {
1 + [<info descr="null" textAttributesKey="KOTLIN_ANNOTATION">Ann</info>] 2
1 + <info descr="null" textAttributesKey="KOTLIN_ANNOTATION">@Ann</info> 2
<info descr="null" textAttributesKey="KOTLIN_ANNOTATION">@Ann</info> 3 + 4
@@ -7,6 +7,6 @@ class <info textAttributesKey="KOTLIN_CLASS">TheClass</info> : <info textAttribu
<info textAttributesKey="KOTLIN_BUILTIN_ANNOTATION">annotation</info> class <info textAttributesKey="KOTLIN_ANNOTATION">magnificent</info>
<info textAttributesKey="KOTLIN_BUILTIN_ANNOTATION">annotation</info> class <info textAttributesKey="KOTLIN_ANNOTATION">deprecated</info>
[<info textAttributesKey="KOTLIN_ANNOTATION">deprecated</info>]
<info textAttributesKey="KOTLIN_ANNOTATION">@deprecated</info>
<info textAttributesKey="KOTLIN_ANNOTATION">magnificent</info> <info textAttributesKey="KOTLIN_BUILTIN_ANNOTATION">abstract</info> class <info textAttributesKey="KOTLIN_ABSTRACT_CLASS">AbstractClass</info><<info textAttributesKey="KOTLIN_TYPE_PARAMETER">T</info>> {
}
@@ -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