Alexander Maryanovsky
05/30/2022, 3:06 PMFlow{ fun collect() }
and Flow.collect
(an extension function) needs to have a stern talking to.import kotlinx.coroutines.flow.collect
is unused, and when I remove it, it tries to use the regular function, which the compiler doesn’t like.ephemient
05/30/2022, 4:14 PM.collect {}
is usable in 1.6+ without an extension, and .collect()
requires an extension in all versionsAlexander Maryanovsky
05/30/2022, 5:06 PMephemient
05/30/2022, 5:07 PMAlexander Maryanovsky
05/30/2022, 5:08 PMephemient
05/30/2022, 5:08 PMAlexander Maryanovsky
05/30/2022, 5:10 PMephemient
05/30/2022, 5:19 PMAlexander Maryanovsky
05/31/2022, 9:24 AMkotlinx.coroutines
as a dependency, I’m just using the one brought in by
implementation(compose.desktop.currentOs)