Re: [PATCH] coroutines: Wrap co_await in a target expr where needed [PR95050]

2020-06-01 Thread Nathan Sidwell
On 6/1/20 3:55 AM, Iain Sandoe wrote: Hi, Since the co_await expression is mostly opaque to the existing machinery, we were hiding the details of the await_resume return value. If that needs to be wrapped in a target expression, then emulate this with the whole co_await. Similarly, if the awai

[PATCH] coroutines: Wrap co_await in a target expr where needed [PR95050]

2020-06-01 Thread Iain Sandoe
Hi, Since the co_await expression is mostly opaque to the existing machinery, we were hiding the details of the await_resume return value. If that needs to be wrapped in a target expression, then emulate this with the whole co_await. Similarly, if the await expression we build in response to co_