spierce7
04/01/2020, 3:20 AMMutabilityException when using the native-mt version of coroutines with Flow. I’ve been stuck on this all day and it doesn’t make a ton of sense to me. I’ve re-created the issue on a small scale in the form of tests, one with the exception, one without. It’s difficult to tell if I’m being dense, or if there is a bug that I’m hitting.
For some reason the tests never complete when both are in the file. If you comment out test2, run test1, let it complete, and then check the stdout from the test, you’ll see the error. test1 has the exception, and test2 doesn’t.
https://gist.github.com/ScottPierce/0e687021f34d779708d1f32bfc81e8e2basher
04/01/2020, 3:28 AMspierce7
04/01/2020, 3:32 AM