Skip to content

Commit

Permalink
Revert "Remove @PublishedApi from unwrap to comply with new compi…
Browse files Browse the repository at this point in the history
…ler restriction (#3810)"

This reverts commit 2bd0f29.
  • Loading branch information
merfemor committed Jul 19, 2023
1 parent 5c4a252 commit ef623b8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ internal expect suspend inline fun recoverAndThrow(exception: Throwable): Nothin
* The opposite of [recoverStackTrace].
* It is guaranteed that `unwrap(recoverStackTrace(e)) === e`
*/
@PublishedApi // published for the multiplatform implementation of kotlinx-coroutines-test
internal expect fun <E: Throwable> unwrap(exception: E): E

internal expect class StackTraceElement
Expand Down

0 comments on commit ef623b8

Please sign in to comment.