Adjust testData: get rid of obsolete annotations

This commit is contained in:
Denis Zharkov
2015-06-09 20:30:52 +03:00
parent 053dcf3abf
commit c9f79c2d05
193 changed files with 322 additions and 322 deletions
@@ -2,5 +2,5 @@ package test
import kotlin.platform.*
[platformName("bar")]
@platformName("bar")
fun foo() {}
@@ -3,8 +3,8 @@ package test
class E1: Exception()
class E2: Exception()
class None [throws()]() {}
class One [throws(E1::class)]()
class Two [throws(E1::class, E2::class)]()
class None @throws() constructor() {}
class One @throws(E1::class) constructor()
class Two @throws(E1::class, E2::class) constructor()
class OneWithParam [throws(E1::class)](a: Int)
class OneWithParam @throws(E1::class) constructor(a: Int)
@@ -5,7 +5,7 @@ class E1: Exception()
throws(E1::class) jvmOverloads
fun one(a: Int = 1) {}
class One [throws(E1::class)] (a: Int = 1) {
class One @throws(E1::class) constructor(a: Int = 1) {
throws(E1::class)
fun one(a: Int = 1) {}
}
@@ -4,11 +4,11 @@ import kotlin.platform.platformStatic
class A {
companion object {
[platformStatic] val b: String = "OK"
@platformStatic val b: String = "OK"
var A.c: String
[platformStatic] get() = "OK"
[platformStatic] set(t: String) {}
@platformStatic get() = "OK"
@platformStatic set(t: String) {}
}
}
@@ -3,11 +3,11 @@ package test
import kotlin.platform.platformStatic
object A {
[platformStatic] val b: String = "OK"
@platformStatic val b: String = "OK"
var A.c: String
[platformStatic]get() = "OK"
[platformStatic]set(t: String) {}
@platformStatic get() = "OK"
@platformStatic set(t: String) {}
}
@@ -3,7 +3,7 @@ package test
import kotlin.platform.*
var v: Int = 1
[platformName("vget")]
@platformName("vget")
get
[platformName("vset")]
@platformName("vset")
set