Adjust testData: get rid of obsolete annotations
This commit is contained in:
+1
-1
@@ -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) {}
|
||||
}
|
||||
+3
-3
@@ -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
-3
@@ -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) {}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ package test
|
||||
import kotlin.platform.*
|
||||
|
||||
var v: Int = 1
|
||||
[platformName("vget")]
|
||||
@platformName("vget")
|
||||
get
|
||||
[platformName("vset")]
|
||||
@platformName("vset")
|
||||
set
|
||||
|
||||
Reference in New Issue
Block a user