[llvm-bugs] [Bug 35818] Crash when compiling coroutine with custom suspend_always

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 14 15:58:59 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=35818

gornishanov at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gornishanov at gmail.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from gornishanov at gmail.com ---
Looks like a duplicate of https://bugs.llvm.org/show_bug.cgi?id=34984

In suspend_always, await_resume() is missing. 

  constexpr void await_result() const noexcept {} // <-- should be await_resume

Though, I like await_result name. Maybe even more than await_resume.

*** This bug has been marked as a duplicate of bug 34984 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180214/6e718d9f/attachment.html>


More information about the llvm-bugs mailing list