Skip to content

QCoroAsyncGenerator test: workaround compiler optimizations that breaks tests#189

Merged
danvratil merged 1 commit intomainfrom
fix-async-generator
Oct 6, 2023
Merged

QCoroAsyncGenerator test: workaround compiler optimizations that breaks tests#189
danvratil merged 1 commit intomainfrom
fix-async-generator

Conversation

@danvratil
Copy link
Collaborator

@danvratil danvratil commented Oct 6, 2023

Make move a proper move, and workaround a clang optimization that breaks the generator coroutine when it realizes that co_yield is always unreachable.

@danvratil danvratil changed the title QCoroAsyncGenerator test: workaround compiler optimizations that brea… QCoroAsyncGenerator test: workaround compiler optimizations that breaks tests Oct 6, 2023
…ks tests

Make move a proper move, and workaround a clang optimization that breaks
the generator coroutine when it realizes that co_yield is always unreachable.
@danvratil danvratil force-pushed the fix-async-generator branch from 5d611f9 to 4ab00e0 Compare October 6, 2023 09:54
@danvratil danvratil merged commit ae50b48 into main Oct 6, 2023
@danvratil danvratil deleted the fix-async-generator branch October 6, 2023 10:07
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.

1 participant