Forbid old coroutineContext deserialization. Fix suspend function deserialization

This commit is contained in:
Ilmir Usmanov
2018-07-06 16:46:50 +03:00
parent d13e2ef32e
commit 524cc3ffe4
6 changed files with 42 additions and 6 deletions
@@ -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 {}
}