Move coroutine-related runtime parts to kotlin.coroutines.experimental package

#KT-15975 Fixed
This commit is contained in:
Denis Zharkov
2017-01-26 13:56:10 +03:00
parent cb4914ab56
commit 8fa8ba7055
160 changed files with 451 additions and 430 deletions
@@ -650,7 +650,7 @@ public class KotlinTestUtils {
M supportModule = hasModules ? factory.createModule("support", Collections.<String>emptyList()) : null;
testFiles.add(factory.createFile(supportModule,
"CoroutineUtil.kt",
"import kotlin.coroutines.*\n" +
"import kotlin.coroutines.experimental.*\n" +
"fun <T> handleResultContinuation(x: (T) -> Unit): Continuation<T> = object: Continuation<T> {\n" +
" override val context = EmptyCoroutineContext\n" +
" override fun resumeWithException(exception: Throwable) {\n" +