permit `co_return {};` in a coro::Task<T>-returning coroutine to default-construct a T
Summary: In a coroutine returning a `coro::Task<T>`, make `co_return {};` return a default-constructed `T` rather than a default-constructed `folly::Try`.
Reviewed By: yfeldblum, andriigrynenko
Differential Revision: D18466785
fbshipit-source-id: ed20f0f5ad98a0ef8e693e490417a7e36f706822
Showing
Please register or sign in to comment