You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
10
10
// New 'CompletionHandler` supertype is added compared to the expect declaration.
11
11
// Probably we can add it to JS and common too, to avoid the suppression/opt-in
internalactualabstractclassCompletionHandlerBase actual constructor() : LockFreeLinkedListNode(), CompletionHandler {
14
14
actualabstractoverridefuninvoke(cause:Throwable?)
15
15
}
@@ -19,7 +19,7 @@ internal actual inline val CompletionHandlerBase.asHandler: CompletionHandler ge
19
19
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
20
20
// New 'CompletionHandler` supertype is added compared to the expect declaration.
21
21
// Probably we can add it to JS and common too, to avoid the suppression/opt-in
Copy file name to clipboardExpand all lines: kotlinx-coroutines-core/concurrent/src/internal/LockFreeLinkedList.kt
+11-11
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ internal val CONDITION_FALSE: Any = Symbol("CONDITION_FALSE")
45
45
@Suppress(
46
46
"LeakingThis",
47
47
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -73,19 +73,19 @@ public actual open class LockFreeLinkedListNode {
73
73
}
74
74
75
75
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
publicactualopenval isRemoved:Boolean get() = next isRemoved
86
86
87
87
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -177,7 +177,7 @@ public actual open class LockFreeLinkedListNode {
177
177
* Returns `false` if `next` was not following `this` node.
178
178
*/
179
179
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -189,7 +189,7 @@ public actual open class LockFreeLinkedListNode {
189
189
}
190
190
191
191
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
internalfuntryCondAddNext(node:Node, next:Node, condAdd:CondAddOp): Int {
@@ -214,7 +214,7 @@ public actual open class LockFreeLinkedListNode {
214
214
removeOrNext() ==null
215
215
216
216
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// returns null if removed successfully or next node if this node is already removed
219
219
@PublishedApi
220
220
internalfunremoveOrNext(): Node? {
@@ -272,7 +272,7 @@ public actual open class LockFreeLinkedListNode {
272
272
}
273
273
274
274
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -330,7 +330,7 @@ public actual open class LockFreeLinkedListNode {
330
330
}
331
331
332
332
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -352,7 +352,7 @@ internal fun Any.unwrap(): Node = (this as? Removed)?.ref ?: this as Node
352
352
* @suppress **This is unstable API and it is subject to change.**
353
353
*/
354
354
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
publicactualval isEmpty:Boolean get() = next ===this
358
358
@@ -378,7 +378,7 @@ public actual open class LockFreeLinkedListHead : LockFreeLinkedListNode() {
378
378
overridefunnextIfRemoved(): Node?=null
379
379
380
380
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// :TODO: Remove when fixed: https://youtrack.jetbrains.com/issue/KT-23703
15
15
"NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS",
16
16
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -22,7 +22,7 @@ internal actual abstract class EventLoopImplPlatform: EventLoop() {
22
22
}
23
23
24
24
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
Copy file name to clipboardExpand all lines: kotlinx-coroutines-core/jvm/src/Executors.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -39,9 +39,9 @@ public abstract class ExecutorCoroutineDispatcher: CoroutineDispatcher(), Closea
39
39
40
40
@Suppress(
41
41
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
Copy file name to clipboardExpand all lines: kotlinx-coroutines-core/jvm/src/SchedulerTask.kt
+2-2
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@ package kotlinx.coroutines
7
7
importkotlinx.coroutines.scheduling.*
8
8
9
9
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
Copy file name to clipboardExpand all lines: kotlinx-coroutines-core/jvm/test/TestBase.kt
+10-10
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ public actual typealias TestResult = Unit
56
56
*/
57
57
@Suppress(
58
58
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -89,7 +89,7 @@ public actual open class TestBase(private var disableOutCheck: Boolean) {
89
89
}
90
90
91
91
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -114,7 +114,7 @@ public actual open class TestBase(private var disableOutCheck: Boolean) {
114
114
* test will not complete successfully even if this exception is consumed somewhere in the test.
115
115
*/
116
116
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -163,15 +163,15 @@ public actual open class TestBase(private var disableOutCheck: Boolean) {
163
163
})
164
164
165
165
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -188,7 +188,7 @@ public actual open class TestBase(private var disableOutCheck: Boolean) {
188
188
}
189
189
190
190
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// onCompletion should not throw exceptions before it finishes all cleanup, so that other tests always
@@ -217,13 +217,13 @@ public actual open class TestBase(private var disableOutCheck: Boolean) {
217
217
}
218
218
219
219
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
@@ -266,15 +266,15 @@ public actual open class TestBase(private var disableOutCheck: Boolean) {
266
266
}
267
267
268
268
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
protectedinlinefun <reifiedT: Throwable> assertFailsWith(block: () ->Unit): T {
271
271
val result = runCatching(block)
272
272
assertTrue(result.exceptionOrNull() isT, "Expected ${T::class}, but had $result")
273
273
return result.exceptionOrNull()!!asT
274
274
}
275
275
276
276
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
Copy file name to clipboardExpand all lines: kotlinx-coroutines-core/native/src/internal/Synchronized.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ import kotlinx.atomicfu.locks.withLock as withLock2
12
12
*/
13
13
@InternalCoroutinesApi
14
14
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
Copy file name to clipboardExpand all lines: kotlinx-coroutines-core/native/test/ConcurrentTestUtilities.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ private object BlackHole {
27
27
28
28
@Suppress(
29
29
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
0 commit comments