Moving platformStatic annotation to kotlin.platform package
This commit is contained in:
@@ -1493,10 +1493,6 @@ public final annotation class noinline : kotlin.Annotation {
|
||||
/*primary*/ public constructor noinline()
|
||||
}
|
||||
|
||||
public final annotation class platformStatic : kotlin.Annotation {
|
||||
/*primary*/ public constructor platformStatic()
|
||||
}
|
||||
|
||||
public final annotation class suppress : kotlin.Annotation {
|
||||
/*primary*/ public constructor suppress(/*0*/ vararg names: kotlin.String /*kotlin.Array<kotlin.String>*/)
|
||||
internal final val names: kotlin.Array<kotlin.String>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import java.lang.annotation.Retention
|
||||
import java.lang.annotation.RetentionPolicy
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
Retention(RetentionPolicy.RUNTIME)
|
||||
annotation class testAnnotation
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
class A {
|
||||
|
||||
class object {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object A {
|
||||
|
||||
val b: String = "OK"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object A {
|
||||
|
||||
val b: String = "OK"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object A {
|
||||
|
||||
val b: String = "OK"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
class B(var s: Int = 0) {
|
||||
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object A {
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object AX {
|
||||
|
||||
platformStatic fun aStatic(): String {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object A {
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object A {
|
||||
|
||||
val b: String = "OK"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package test
|
||||
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
class A {
|
||||
|
||||
class object {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package test
|
||||
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
object A {
|
||||
|
||||
val b: String = "OK"
|
||||
|
||||
Reference in New Issue
Block a user