aidanvii
08/19/2021, 1:58 PMResult
as a return type as of Kotlin 1.5. I’m having seemingly random crashes with suspending functions that return Result
(I haven’t checked with other inline/value classes). it’s happening in the generated invokeSuspend
:
Fatal Exception: java.lang.ClassCastException
java.util.ArrayList cannot be cast to kotlin.Result