Kotlin / kotlinx.coroutines

Library support for Kotlin coroutines
Apache License 2.0
12.86k stars 1.83k forks source link

1.9.0-RC: `kotlinx-coroutines-core/jvm/src/internal/ProbesSupport.kt` calls ` kotlinx.coroutines.debug.internal.probeCoroutineResumed` #4152

Open nreid260 opened 1 month ago

nreid260 commented 1 month ago

Describe the bug

This seems like an accident. probeCoroutineCreated delegates to kotlin.coroutines.jvm.internal but probeCoroutineResumed delegates to kotlinx.coroutines.debug.internal. Should they not point to the same place?

It also creates a weird build dependency. Now "debug" code is a static dependency of "production" code.

fzhinkin commented 1 month ago

@nreid260 thanks for reporting! My colleagues will check the issue once they are back from vacation.