Skip to content

Commit cd162d3

Browse files
committed
After merge fix: resolve clashes between type alias CoroutineStackFrame and jvm.internal.CoroutineStackFrame
1 parent a5a7cdb commit cd162d3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

core/kotlinx-coroutines-debug/src/CoroutineState.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
package kotlinx.coroutines.debug
88

99
import kotlinx.coroutines.*
10-
import kotlinx.coroutines.internal.*
10+
import kotlinx.coroutines.internal.sanitize
1111
import kotlin.coroutines.*
12+
import kotlin.coroutines.jvm.internal.*
1213

1314
/**
1415
* Class describing coroutine state.

core/kotlinx-coroutines-debug/src/internal/DebugProbesImpl.kt

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package kotlinx.coroutines.debug.internal
66

77
import kotlinx.coroutines.*
88
import kotlinx.coroutines.debug.*
9-
import kotlinx.coroutines.internal.*
9+
import kotlinx.coroutines.internal.artificialFrame
1010
import net.bytebuddy.*
1111
import net.bytebuddy.agent.*
1212
import net.bytebuddy.dynamic.loading.*
@@ -15,6 +15,7 @@ import java.text.*
1515
import java.util.*
1616
import kotlin.collections.ArrayList
1717
import kotlin.coroutines.*
18+
import kotlin.coroutines.jvm.internal.*
1819

1920
/**
2021
* Mirror of [DebugProbes] with actual implementation.
@@ -80,7 +81,7 @@ internal object DebugProbesImpl {
8081
val str = if (this !is JobSupport) toString() else toDebugString()
8182
if (state == null) {
8283
@Suppress("INVISIBLE_REFERENCE")
83-
if (this !is ScopeCoroutine<*>) { // Do not print scoped coroutines
84+
if (this !is kotlinx.coroutines.internal.ScopeCoroutine<*>) { // Do not print scoped coroutines
8485
builder.append("$str\n")
8586
}
8687
} else {

0 commit comments

Comments
 (0)