[Native/Tests] Add explicit import for SharedImmutable

This fixes an overload resolution ambiguity in K2.

#KT-56272
This commit is contained in:
Kirill Rakhman
2023-05-11 12:05:46 +02:00
committed by Space Team
parent 471be7405a
commit e2dafdb5b9
2 changed files with 2 additions and 2 deletions
@@ -884,8 +884,7 @@ standaloneTest("cleaner_in_tls_worker") {
}
standaloneTest("worker_bound_reference0") {
enabled = (project.testTarget != 'wasm32') && // Workers need pthreads.
!isK2(project) // KT-56272
enabled = (project.testTarget != 'wasm32') // Workers need pthreads.
source = "runtime/concurrent/worker_bound_reference0.kt"
flags = ['-tr']
@@ -9,6 +9,7 @@ package runtime.concurrent.worker_bound_reference0
import kotlin.test.*
import kotlin.native.concurrent.*
import kotlin.native.concurrent.SharedImmutable
import kotlin.native.*
import kotlin.native.ref.WeakReference
import kotlin.native.runtime.GC