You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this is a bug in Kotlin compiler related to function with contracts that were added in #2030.
A workaround is to extract withContext calls from catch and finally blocks to separate functions.
The following test code exibit a java.lang.VerifyError: Call to wrong method
Kotlin version 1.3.72
Coroutines version 1.3.6
The problem occurs when
withContext
is in thefinally
blockThe error is:
The text was updated successfully, but these errors were encountered: