Re: [PATCH] coroutines: Fix handling of conditional statements [PR94288]

2020-04-23 Thread Nathan Sidwell
On 4/20/20 12:48 PM, Iain Sandoe wrote: Hi, Normally, when we find a statement containing an await expression this will be expanded to a statement list implementing the control flow implied. The expansion process successively replaces each await expression in a statement with the result of its

[PATCH] coroutines: Fix handling of conditional statements [PR94288]

2020-04-20 Thread Iain Sandoe
Hi, Normally, when we find a statement containing an await expression this will be expanded to a statement list implementing the control flow implied. The expansion process successively replaces each await expression in a statement with the result of its await_resume(). In the case of conditiona