File tree 4 files changed +10
-7
lines changed
common/kotlinx-coroutines-core-common/src/internal
core/kotlinx-coroutines-core/src/internal
js/kotlinx-coroutines-core-js/src/internal
native/kotlinx-coroutines-core-native/src/internal
4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ internal expect suspend inline fun recoverAndThrow(exception: Throwable): Nothin
36
36
*/
37
37
internal expect fun <E : Throwable > unwrap (exception : E ): E
38
38
39
- expect class StackTraceElement
39
+ internal expect class StackTraceElement
40
40
41
41
internal expect interface CoroutineStackFrame {
42
42
public val callerFrame: CoroutineStackFrame ?
Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ private fun StackTraceElement.elementWiseEquals(e: StackTraceElement): Boolean {
200
200
}
201
201
202
202
@Suppress(" ACTUAL_WITHOUT_EXPECT" )
203
- actual typealias CoroutineStackFrame = kotlin.coroutines.jvm.internal.CoroutineStackFrame
203
+ internal actual typealias CoroutineStackFrame = kotlin.coroutines.jvm.internal.CoroutineStackFrame
204
204
205
- actual typealias StackTraceElement = java.lang.StackTraceElement
205
+ @Suppress(" ACTUAL_WITHOUT_EXPECT" )
206
+ internal actual typealias StackTraceElement = java.lang.StackTraceElement
Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ internal actual suspend inline fun recoverAndThrow(exception: Throwable): Nothin
12
12
13
13
internal actual fun <E : Throwable > unwrap (exception : E ): E = exception
14
14
15
- @Suppress(" unused " )
15
+ @Suppress(" UNUSED " )
16
16
internal actual interface CoroutineStackFrame {
17
17
public actual val callerFrame: CoroutineStackFrame ?
18
18
public actual fun getStackTraceElement (): StackTraceElement ?
19
19
}
20
20
21
- actual typealias StackTraceElement = Any
21
+ @Suppress(" ACTUAL_WITHOUT_EXPECT" )
22
+ internal actual typealias StackTraceElement = Any
Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ internal actual fun <E: Throwable> recoverStackTrace(exception: E): E = exceptio
11
11
internal actual fun <E : Throwable > unwrap (exception : E ): E = exception
12
12
internal actual suspend inline fun recoverAndThrow (exception : Throwable ): Nothing = throw exception
13
13
14
- @Suppress(" unused " )
14
+ @Suppress(" UNUSED " )
15
15
internal actual interface CoroutineStackFrame {
16
16
public actual val callerFrame: CoroutineStackFrame ?
17
17
public actual fun getStackTraceElement (): StackTraceElement ?
18
18
}
19
19
20
- actual typealias StackTraceElement = Any
20
+ @Suppress(" ACTUAL_WITHOUT_EXPECT" )
21
+ internal actual typealias StackTraceElement = Any
You can’t perform that action at this time.
0 commit comments