Skip to content

Commit b7b284a

Browse files
committed
[expr.await] Define 'suspend' as a term of power for coroutines
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.
1 parent 13ba96c commit b7b284a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4935,7 +4935,7 @@
49354935
\begin{itemize}
49364936
\item
49374937
If the result of \placeholder{await-ready} is \keyword{false},
4938-
the coroutine is considered suspended.
4938+
the coroutine is considered \defnx{suspended}{suspend a coroutine}.
49394939
Then:
49404940
\begin{itemize}
49414941
\item

0 commit comments

Comments
 (0)