fcbff72f6f
Use 'handleResult' method of controller to determine what lambda should return If original declaration was fun builder(coroutine c: Controller.() -> Continuation<Unit>) = 1 and there is 'fun handleResult(x: X, c: Continuation<Nothing>)', then expected type for lambda is 'Controller.() -> X'