Skip to content
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

Editorial: Convert more abstract operation preambles #1953

Merged
merged 1 commit into from
Apr 20, 2020

Conversation

jmdyck
Copy link
Collaborator

@jmdyck jmdyck commented Apr 18, 2020

... to the 'standard' form introduced in PR #1914.

@ljharb ljharb requested review from syg, michaelficarra and a team April 18, 2020 07:27
spec.html Outdated
@@ -34361,7 +34361,7 @@ <h1>Array.prototype.sort ( _comparefn_ )</h1>

<emu-clause id="sec-sortcompare" aoid="SortCompare">
<h1>Runtime Semantics: SortCompare ( _x_, _y_ )</h1>
<p>The SortCompare abstract operation is called with two arguments _x_ and _y_. It also has access to the _comparefn_ argument passed to the current invocation of the `sort` method. The following steps are taken:</p>
<p>The abstract operation SortCompare takes arguments _x_ and _y_. It also has access to the _comparefn_ argument passed to the current invocation of the `sort` method. It performs the following steps when called:</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, this looks like another potential place to use abstract closures, @syg.

@ljharb ljharb self-assigned this Apr 20, 2020
@ljharb ljharb merged commit f3c2860 into tc39:master Apr 20, 2020
@jmdyck jmdyck deleted the preambles branch April 27, 2020 02:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants