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
@@ -9,38 +9,38 @@ open class B {
class A {
companion object : B() {
var p1:Int = 1
[platformStatic] set(p: Int) {
@platformStatic set(p: Int) {
p1 = 1
}
[platformStatic] val z = 1;
@platformStatic val z = 1;
[platformStatic] override val base1: Int = 0
@platformStatic override val base1: Int = 0
override val base2: Int = 0
[platformStatic] get
@platformStatic get
}
object A : B() {
var p:Int = 1
[platformStatic] set(p1: Int) {
@platformStatic set(p1: Int) {
p = 1
}
[platformStatic] val z = 1;
@platformStatic val z = 1;
<!OVERRIDE_CANNOT_BE_STATIC!>[platformStatic] override val base1: Int<!> = 0
<!OVERRIDE_CANNOT_BE_STATIC!>@platformStatic override val base1: Int<!> = 0
platformStatic open fun f() {}
override val base2: Int = 0
<!OVERRIDE_CANNOT_BE_STATIC!>[platformStatic] get<!>
<!OVERRIDE_CANNOT_BE_STATIC!>@platformStatic get<!>
}
var p:Int = 1
<!PLATFORM_STATIC_NOT_IN_OBJECT!>[platformStatic] set(p1: Int)<!> {
<!PLATFORM_STATIC_NOT_IN_OBJECT!>@platformStatic set(p1: Int)<!> {
p = 1
}
<!PLATFORM_STATIC_NOT_IN_OBJECT!>[platformStatic] val z2<!> = 1;
<!PLATFORM_STATIC_NOT_IN_OBJECT!>@platformStatic val z2<!> = 1;
}