JS: prohibit using experimental coroutines from 1.3
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
import kotlin.coroutines.experimental.*
|
||||
import kotlin.coroutines.experimental.intrinsics.*
|
||||
|
||||
suspend fun dummy(): String = <!DEPRECATION_ERROR!>suspendCoroutine<!> {
|
||||
it.resume("OK")
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package
|
||||
|
||||
public suspend fun dummy(): kotlin.String
|
||||
Reference in New Issue
Block a user