I get this message only building for native target...
# kotlin-native
b
I get this message only building for native targets:
'performAndWait(suspend CoroutineScope.() -> T): T' is deprecated. Experimental coroutines support will be dropped in 1.4
This method is my own, and I can't figure out what about this signature triggers the deprecation warning. Anyone else run into this?
g
What is in body of this function? Maybe you use something from package kotlin.coroutines.experimental
b
well that's the odd thing. it doesn't complain about the implementation itself, only the usage of it in my tests and only when running tests on iOS
but fwiw, here's a list of coroutine APIs I'm using in that call stack (not just immediately in that method): -
runBlocking
-
delay
-
launch
-
Job.join
I don't think any of those has been deprecated, marked experimental, etc.
g
Names mean nothing in this context, all of them were available in experimental coroutines, could you check imports of those kotlinx.coroutines components
But you right it's odd, looks like a bug
b
I’ll double check and get back
Imports: -
import kotlinx.coroutines.CoroutineScope
-
import kotlinx.coroutines.runBlocking
-
import kotlinx.coroutines.delay
-
import kotlinx.coroutines.launch
g
Yeah, it’s fine, really strange, maybe there is a way to reproduce it and report bug to K/N if this related only to iOS builds
b
Did some renaming, and it appears to have gone away 🤷‍♂️