Move JVM-specific annotations out of built-ins
Move 'volatile' and 'synchronized' to package 'kotlin' in stdlib. Also delete 'atomic', since its support was never implemented
This commit is contained in:
@@ -2,10 +2,6 @@ package jet
|
||||
|
||||
public trait Annotation
|
||||
|
||||
public annotation class volatile
|
||||
|
||||
public fun <R> synchronized(lock: Any, block: () -> R): R
|
||||
|
||||
public fun Any?.identityEquals(other: Any?): Boolean // = this === other
|
||||
|
||||
public fun Any?.equals(other: Any?): Boolean
|
||||
|
||||
@@ -16,8 +16,10 @@
|
||||
|
||||
package jet
|
||||
|
||||
public annotation class atomic
|
||||
public annotation class data
|
||||
|
||||
public annotation class deprecated(val value: String)
|
||||
|
||||
public annotation class suppress(vararg val names: String)
|
||||
|
||||
public annotation class tailRecursive
|
||||
|
||||
Reference in New Issue
Block a user