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

florent

10/31/2020, 11:27 AM
Hi, I have function like this where
Result.UiUpdate.MovieList
is a sealed class. Do you know why I have to add as Result and the compiler want me to remove it?
☝️ 1
t

tseisel

10/31/2020, 12:40 PM
I have the exact same issue. Compiler seems unable to infer to the base sealed class of the whole observable chain when
catch
,
onStart
are involved.
2 Views