Skip to content

Conversation

@sylveon
Copy link
Contributor

@sylveon sylveon commented Nov 11, 2022

The opposite of #372

Fixes #1219

@sylveon
Copy link
Contributor Author

sylveon commented Nov 11, 2022

Tests passed locally...

IAsyncAction NoSuspend_IAsyncAction()
{
co_await resume_after(0s);
co_await 0s;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this change have to do with ripping out the low-level hooks?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workaround was added because of the low level hooks preventing Clang from building this code.

So removing resume_after helps make sure that we have coverage for this functionality on Clang.

@kennykerr
Copy link
Collaborator

It generally looks good to me, but @oldnewthing made the last few tweaks to coroutine support so I'd appreciate his eyes on this change as well.

Copy link
Member

@oldnewthing oldnewthing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never thought we would be rid of this code.

Copy link
Collaborator

@kennykerr kennykerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clang/GCC: Issue with operator co_await and winrt::impl::awaiter_finder

3 participants