-
Notifications
You must be signed in to change notification settings - Fork 772
[editoral] the ambiguity in [stmt.return] p4 #5215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
They mean the same thing. A coroutine is a function, so it doesn't matter if you group "a coroutine" with "a function" or not. |
@jwakely So, you suppose that, if the sentence is parsed as the second one it would be a duplicate expound about the function, thus, only the first one is a reasonable way to parse the sentence? |
I think it doesn't matter which way you parse it, it means the same thing. |
Uh, Do you think
has the same meaning with
? The latter obviously conflicts with [dcl.fct.def.coroutine] p11
|
Doh, I implicitly negated the coroutine part, sorry. I need to learn to read. I think your rephrasing as "a function that is neither main nor a coroutine" would be an improvement. |
[stmt.return] p4 says:
It seems the sentence can be read as two meanings, which are:
we can infer that the second one is a wrong interpretation but this is based on that we get the clue after reading [dcl.fct.def.coroutine] p11.
The text was updated successfully, but these errors were encountered: