Forbid old coroutineContext deserialization. Fix suspend function deserialization
This commit is contained in:
+1
-1
@@ -4,5 +4,5 @@
|
||||
import kotlin.coroutines.experimental.coroutineContext
|
||||
|
||||
suspend fun test() {
|
||||
coroutineContext
|
||||
<!UNSUPPORTED!>coroutineContext<!>
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// !LANGUAGE: +ReleaseCoroutines
|
||||
// SKIP_TXT
|
||||
|
||||
suspend fun test() {
|
||||
suspend {}
|
||||
}
|
||||
Reference in New Issue
Block a user