Update stubBuilder/deserialization tests on coroutines

This commit is contained in:
Denis Zharkov
2016-12-15 10:59:31 +03:00
committed by Stanislav Erokhin
parent a3338b2230
commit 4737b3dd7f
4 changed files with 9 additions and 19 deletions
@@ -1,9 +1,8 @@
package test
class Controller {
suspend fun suspendFun(x: Continuation<String>) {}
operator fun handleResult(x: Int, y: Continuation<Nothing>) {}
suspend fun suspendFun() {}
}
fun builder(coroutine c: Controller.() -> Continuation<Unit>) {
fun builder(c: suspend Controller.() -> Unit) {
}
@@ -1,9 +1,8 @@
package test
public fun builder(/*0*/ coroutine c: test.Controller.() -> kotlin.coroutines.Continuation<kotlin.Unit>): kotlin.Unit
public fun builder(/*0*/ c: suspend test.Controller.() -> kotlin.Unit): kotlin.Unit
public final class Controller {
/*primary*/ public constructor Controller()
public final operator fun handleResult(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.coroutines.Continuation<kotlin.Nothing>): kotlin.Unit
public final suspend fun suspendFun(/*0*/ x: kotlin.coroutines.Continuation<kotlin.String>): kotlin.Unit
public final suspend fun suspendFun(): kotlin.Unit
}