Skip to content

Commit 87142a2

Browse files
committed
Suppress unchecked warning
1 parent 37984f3 commit 87142a2

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

reactive/kotlinx-coroutines-reactive/src/main/kotlin/kotlinx/coroutines/experimental/reactive/Await.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ private suspend fun <T> Publisher<T>.awaitOne(
117117
}
118118
}
119119

120+
@Suppress("UNCHECKED_CAST")
120121
override fun onComplete() {
121122
if (seenValue) {
122123
if (cont.isActive) cont.resume(value as T)

0 commit comments

Comments
 (0)