Skip to content

Commit 64a1248

Browse files
committed
Fix KT-62279 by suppressing INVISIBLE_SETTER
1 parent 0a7a7f1 commit 64a1248

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kotlinx-coroutines-debug/src/DebugProbes.kt

+3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public object DebugProbes {
5151
*/
5252
public var sanitizeStackTraces: Boolean
5353
get() = DebugProbesImpl.sanitizeStackTraces
54+
@Suppress("INVISIBLE_SETTER") // do not remove the INVISIBLE_SETTER suppression: required in k2
5455
set(value) {
5556
DebugProbesImpl.sanitizeStackTraces = value
5657
}
@@ -66,6 +67,7 @@ public object DebugProbes {
6667
*/
6768
public var enableCreationStackTraces: Boolean
6869
get() = DebugProbesImpl.enableCreationStackTraces
70+
@Suppress("INVISIBLE_SETTER") // do not remove the INVISIBLE_SETTER suppression: required in k2
6971
set(value) {
7072
DebugProbesImpl.enableCreationStackTraces = value
7173
}
@@ -82,6 +84,7 @@ public object DebugProbes {
8284
*/
8385
public var ignoreCoroutinesWithEmptyContext: Boolean
8486
get() = DebugProbesImpl.ignoreCoroutinesWithEmptyContext
87+
@Suppress("INVISIBLE_SETTER") // do not remove the INVISIBLE_SETTER suppression: required in k2
8588
set(value) {
8689
DebugProbesImpl.ignoreCoroutinesWithEmptyContext = value
8790
}

0 commit comments

Comments
 (0)