Roberto Leinardi
11/29/2024, 12:36 PMkotlinx.coroutines.test.setMain
but on main, when I try to use Dispatchers.injectMain()
the build fails with Cannot access 'fun injectMain(dispatcher: MainCoroutineDispatcher): Unit': it is internal in 'kotlinx/coroutines/Dispatchers'.
Is there something that I have to opt-in?Dmitry Khalanskiy [JB]
11/29/2024, 12:40 PMRoberto Leinardi
11/29/2024, 12:43 PM@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
did the trick, but I'll file an issue to have proper supportRoberto Leinardi
11/29/2024, 12:56 PM