File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 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
3636 */
3737internal expect fun <E : Throwable > unwrap (exception : E ): E
3838
39- expect class StackTraceElement
39+ internal expect class StackTraceElement
4040
4141internal expect interface CoroutineStackFrame {
4242 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 {
200200}
201201
202202@Suppress(" ACTUAL_WITHOUT_EXPECT" )
203- actual typealias CoroutineStackFrame = kotlin.coroutines.jvm.internal.CoroutineStackFrame
203+ internal actual typealias CoroutineStackFrame = kotlin.coroutines.jvm.internal.CoroutineStackFrame
204204
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
1212
1313internal actual fun <E : Throwable > unwrap (exception : E ): E = exception
1414
15- @Suppress(" unused " )
15+ @Suppress(" UNUSED " )
1616internal actual interface CoroutineStackFrame {
1717 public actual val callerFrame: CoroutineStackFrame ?
1818 public actual fun getStackTraceElement (): StackTraceElement ?
1919}
2020
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
1111internal actual fun <E : Throwable > unwrap (exception : E ): E = exception
1212internal actual suspend inline fun recoverAndThrow (exception : Throwable ): Nothing = throw exception
1313
14- @Suppress(" unused " )
14+ @Suppress(" UNUSED " )
1515internal actual interface CoroutineStackFrame {
1616 public actual val callerFrame: CoroutineStackFrame ?
1717 public actual fun getStackTraceElement (): StackTraceElement ?
1818}
1919
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