Skip to content

Commit 37984f3

Browse files
committed
Suppress deprecation
1 parent eab2cff commit 37984f3

File tree

1 file changed

+1
-0
lines changed
  • kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental

1 file changed

+1
-0
lines changed

kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/LazyDeferred.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ typealias LazyDeferred<T> = Deferred<T>
2828
/**
2929
* @suppress **Deprecated**: Replace with `async(context, start = false) { ... }`. See [async].
3030
*/
31+
@Suppress("DEPRECATION")
3132
@Deprecated(message = "This functionality is incorporated into `async", level = DeprecationLevel.WARNING,
3233
replaceWith = ReplaceWith("async(context, start = false, block = block)"))
3334
public fun <T> lazyDefer(context: CoroutineContext, block: suspend CoroutineScope.() -> T) : Deferred<T> =

0 commit comments

Comments
 (0)