Skip to content

Commit ef623b8

Browse files
committed
Revert "Remove @PublishedApi from unwrap to comply with new compiler restriction (#3810)"
This reverts commit 2bd0f29.
1 parent 5c4a252 commit ef623b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kotlinx-coroutines-core/common/src/internal/StackTraceRecovery.common.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ internal expect suspend inline fun recoverAndThrow(exception: Throwable): Nothin
4040
* The opposite of [recoverStackTrace].
4141
* It is guaranteed that `unwrap(recoverStackTrace(e)) === e`
4242
*/
43+
@PublishedApi // published for the multiplatform implementation of kotlinx-coroutines-test
4344
internal expect fun <E: Throwable> unwrap(exception: E): E
4445

4546
internal expect class StackTraceElement

0 commit comments

Comments
 (0)