Skip to content

Commit 84a2cba

Browse files
authored
Minor: add forgotten Suppress for ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_MEMBERS_AS_NON_FINAL_EXPECT_CLASSIFIER (#3891)
1 parent fd5a58b commit 84a2cba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kotlinx-coroutines-core/concurrent/src/internal/LockFreeLinkedList.kt

+3
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,9 @@ public actual open class LockFreeLinkedListHead : LockFreeLinkedListNode() {
372372

373373
// optimization: because head is never removed, we don't have to read _next.value to check these:
374374
override val isRemoved: Boolean get() = false
375+
376+
// fixme replace the suppress with AllowDifferentMembersInActual once stdlib is updated to 1.9.20 https://github.com/Kotlin/kotlinx.coroutines/issues/3846
377+
@Suppress("NON_ACTUAL_MEMBER_DECLARED_IN_EXPECT_NON_FINAL_CLASSIFIER_ACTUALIZATION")
375378
override fun nextIfRemoved(): Node? = null
376379

377380
// 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

Comments
 (0)