Fix reference resolution on suspension calls

This commit is contained in:
Denis Zharkov
2016-06-09 14:37:39 +03:00
parent f1b0204ffe
commit d2bf4cbfa0
3 changed files with 23 additions and 0 deletions
@@ -0,0 +1,16 @@
class Controller {
suspend fun suspendHere(x: Continuation<Unit>) {
}
}
fun builder(coroutine c: Controller.() -> Continuation<Unit>) {
}
fun foo() {
builder {
<caret>suspendHere()
}
}
// REF: (in Controller).suspendHere(Continuation<Unit>)