Skip to content

Commit ac5e87b

Browse files
committed
~fix compilation
1 parent f7884c6 commit ac5e87b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kotlinx-coroutines-core/api/kotlinx-coroutines-core.api

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ public final class kotlinx/coroutines/ExceptionsKt {
346346
public static final fun CancellationException (Ljava/lang/String;Ljava/lang/Throwable;)Ljava/util/concurrent/CancellationException;
347347
}
348348

349-
public abstract class kotlinx/coroutines/ExecutorCoroutineDispatcher : kotlinx/coroutines/CoroutineDispatcher, java/lang/AutoCloseable {
349+
public abstract class kotlinx/coroutines/ExecutorCoroutineDispatcher : kotlinx/coroutines/CoroutineDispatcher, java/io/Closeable, java/lang/AutoCloseable {
350350
public static final field Key Lkotlinx/coroutines/ExecutorCoroutineDispatcher$Key;
351351
public fun <init> ()V
352352
public abstract fun close ()V

kotlinx-coroutines-core/jvm/src/Executors.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import kotlin.coroutines.*
1313
* This class is generally used as a bridge between coroutine-based API and
1414
* asynchronous API that requires an instance of the [Executor].
1515
*/
16-
public abstract class ExecutorCoroutineDispatcher: CoroutineDispatcher(), AutoCloseable {
16+
public abstract class ExecutorCoroutineDispatcher: CoroutineDispatcher(), Closeable, AutoCloseable {
1717
/** @suppress */
1818
@ExperimentalStdlibApi
1919
public companion object Key : AbstractCoroutineContextKey<CoroutineDispatcher, ExecutorCoroutineDispatcher>(

0 commit comments

Comments
 (0)