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:
Alexander Udalov
2014-02-07 19:47:04 +04:00
parent b2d074c5cc
commit b68e47f705
15 changed files with 31 additions and 52 deletions
-4
View File
@@ -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
+3 -1
View File
@@ -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