Remove state from parts of multifile classes

Split COROUTINE_SUSPENDED marker to expect and actual because Kotlin/JS backend
expects it to be property without getter.

Update EXPECTED_REACHABLE_NODES in JS test data.

#KT-24986 Fixed
This commit is contained in:
Ilya Gorbunov
2018-06-19 19:04:25 +03:00
parent cffe7fb23b
commit 6d027bbbfc
5 changed files with 44 additions and 10 deletions
@@ -57,5 +57,4 @@ public inline fun <T> Continuation<T>.intercepted(): Continuation<T> =
* the execution was suspended and will not return any result immediately.
*/
@SinceKotlin("1.1")
public val COROUTINE_SUSPENDED: Any = Any()
public expect val COROUTINE_SUSPENDED: Any // get() = CoroutineSuspendedMarker