-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
misc editorial #452
misc editorial #452
Conversation
Great finds! What do you think about using emu-val (emd * syntax) for number values (like string and Boolean values)? |
I certainly think we should use |
Also, if you do decide to add |
Anyhow, I'd prefer that that issue not delay acceptance of this PR. (I've got another one in the wings that's waiting for this one to be merged.) |
(just rebased to upstream master) |
... (e.g. "let", "set", "return")
... because the comma-less version is much more common in the spec.
The 'spec consensus' seems to be that there should be a comma after the condition, and not after the "Else".
(Other similar section titles don't have apostrophe-s.)
... because it's talking about the result of calling [[GetPrototypeOf]].
Drop the introductory paragraph that alters the interpretation of the algorithm (but not in a way that makes it obvious which steps are affected), and instead just tweak the two steps that are affected (as far as I can tell), to make things explicit.
... to match order in header.
... into the preambles of AllocateTypedArray and TriggerPromiseReactions
... (assuming it isn't a variable name). The spec was somewhat divided on this point, but it's capitalized in the majority of cases, so go with that.
(6 occurrences from a recent commit)
@bterlson: This PR has been open for 6 weeks now. Is there something preventing it from being merged? |
Just review time. I will get to it today I promise. (Sorry, of late I've been treating PRs like a LIFO queue, which is probably a bad policy) |
Thanks! |
Please accept this as a token of my regret: 🍁 |
@@ -4002,7 +4002,7 @@ | |||
1. If the _LeftFirst_ flag is *true*, then | |||
1. Let _px_ be ? ToPrimitive(_x_, hint Number). | |||
1. Let _py_ be ? ToPrimitive(_y_, hint Number). | |||
1. Else the order of evaluation needs to be reversed to preserve left to right evaluation | |||
1. Else the order of evaluation needs to be reversed to preserve left to right evaluation, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like this is not actually a condition but an assert and so would argue weakly for "Else, the order of evaluation..." instead. But this is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's both a condition and an assertion. That is, every occurrence of
Else <condition>,
...
is basically equivalent to:
Else,
Assert: <condition>
...
Looks good. Rebasing, cleaning up commit messages and merging. Thanks, and sorry again for the delay. |
No description provided.