https://kotlinlang.org logo
#coroutines
Title
# coroutines
n

nwh

09/17/2018, 9:02 PM
I'm getting a
call to 'resume' before 'invoke' with coroutine
error, but I'm having a hard time figuring out what's causing it and I can't seem to isolate it (though I can reproduce in this single environment). Any suggestions on how to track it down?
v

Vsevolod Tolstopyatov [JB]

09/18/2018, 7:41 AM
n

nwh

09/18/2018, 4:58 PM
Oh, thank goodness. I was questioning my sanity.
I'm still receiving this error, even after upgrading @Vsevolod Tolstopyatov [JB]
e

elizarov

09/21/2018, 8:09 PM
It is a bug in the compiler. I will not be fixed by any updates to the coroutines library. Please, subscribe to the status of the compiler bug. You can also add your reporoducer there: https://youtrack.jetbrains.com/issue/KT-25893
n

nwh

09/21/2018, 8:10 PM
I was told that bug was fixed in 1.3, but even with
1.3.20-dev-165
it's not working. I'll go ahead and add it there, thanks.
e

elizarov

09/21/2018, 8:15 PM
It is not. Please, take a look at the issue (link above). It is still open
n

nwh

09/21/2018, 8:16 PM
Ah, I see. The GitHub issue was closed, hence my confusion. Sorry about that
e

elizarov

09/21/2018, 8:27 PM
The github issue was closed because there is no bug in the
kotlinx.coroutines
library.
20 Views