From b7b284af286e185549928b83d37d1a1e8c588bd9 Mon Sep 17 00:00:00 2001 From: Alisdair Meredith Date: Thu, 7 Nov 2024 10:59:18 -0500 Subject: [PATCH] [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. --- source/expressions.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/expressions.tex b/source/expressions.tex index 3ee94afec2..8208c0427c 100644 --- a/source/expressions.tex +++ b/source/expressions.tex @@ -4935,7 +4935,7 @@ \begin{itemize} \item If the result of \placeholder{await-ready} is \keyword{false}, -the coroutine is considered suspended. +the coroutine is considered \defnx{suspended}{suspend a coroutine}. Then: \begin{itemize} \item