Skip to content

Commit

Permalink
Remove replacements from deprecated kotlin.Synchronized and Volatile
Browse files Browse the repository at this point in the history
They are js-only but not supposed to be used in Kotlin/JS code, so their
usages should be just removed.

#KT-21073
  • Loading branch information
ilya-g committed Sep 8, 2018
1 parent ca1e6ba commit 50f75ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/stdlib/js/src/kotlin/concurrent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ package kotlin
import kotlin.contracts.*


@Deprecated("Use Synchronized annotation from kotlin.jvm package", ReplaceWith("kotlin.jvm.Synchronized"), level = DeprecationLevel.WARNING)
@Deprecated("Do not use Synchronized annotation in pure Kotlin/JS code", level = DeprecationLevel.WARNING)
public typealias Synchronized = kotlin.jvm.Synchronized

@Deprecated("Use Volatile annotation from kotlin.jvm package", ReplaceWith("kotlin.jvm.Volatile"), level = DeprecationLevel.WARNING)
@Deprecated("Do not use Volatile annotation in pure Kotlin/JS code", level = DeprecationLevel.WARNING)
public typealias Volatile = kotlin.jvm.Volatile

@kotlin.internal.InlineOnly
Expand Down

0 comments on commit 50f75ad

Please sign in to comment.