[expr.await] Define 'suspend' as a term of power for coroutines#7378
Open
AlisdairM wants to merge 1 commit into
Open
[expr.await] Define 'suspend' as a term of power for coroutines#7378AlisdairM wants to merge 1 commit into
AlisdairM wants to merge 1 commit into
Conversation
AlisdairM
force-pushed
the
defined_suspended_coroutine
branch
from
February 12, 2025 02:28
b7b284a to
f59767c
Compare
Member
|
Marking this CWG. See the linked issue for details. |
Contributor
|
(It looks like there is no way to mark a pull request so that closing it (not merging it) also closes linked issue. When we have the CWG issue, we should close both GitHub items.) |
AlisdairM
force-pushed
the
defined_suspended_coroutine
branch
from
November 14, 2025 14:12
f59767c to
dfb3e22
Compare
Many parts of the standard refer to whether a coroutine is suspended as if it were a term of power, but there is no \defn that defines it as such. Editorial review suggests this commit provides the best location to make the definition."
AlisdairM
force-pushed
the
defined_suspended_coroutine
branch
from
December 14, 2025 00:58
dfb3e22 to
a328186
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #7377.
Many parts of the standard refer to whether a coroutine is suspended as if it were a term of power, but there is no \defn that defines it as such. This PR places the definition on the only use that I could find where a suspended state was not defined in terms of other suspended states, so may be the transition into suspension. It is likely that folks with a better eye to Core wording will know a better place, that may need a little rewording to sneak in the word 'suspended' to properly define it.