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: make the order of parameters for class field AOs more consistent #2504

Merged
merged 6 commits into from
Sep 14, 2021

Conversation

bakkot
Copy link
Contributor

@bakkot bakkot commented Aug 29, 2021

Various of the abstract operations introduced in #1668 took their parameters in the order (key, object) or (key, object, value), rather than the prevailing convention of (object, key) or (object, key, value) respectively (as in Get, Set, etc). (Thanks to @devsnek for pointing this out.)

This PR swaps the order of the parameters for those methods to match the prior convention.

@liannemarie

This comment has been minimized.

@bakkot bakkot added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Sep 13, 2021
@bakkot bakkot force-pushed the private-name-ao-argument-order branch from a204a54 to ad91b26 Compare September 14, 2021 01:41
@ljharb ljharb force-pushed the private-name-ao-argument-order branch from ad91b26 to c0c2d1f Compare September 14, 2021 01:46
@ljharb ljharb merged commit c0c2d1f into master Sep 14, 2021
@ljharb ljharb deleted the private-name-ao-argument-order branch September 14, 2021 01:50
mathiasbynens pushed a commit to mathiasbynens/ecma262 that referenced this pull request Oct 18, 2021
mathiasbynens pushed a commit to mathiasbynens/ecma262 that referenced this pull request Oct 18, 2021
mathiasbynens pushed a commit to mathiasbynens/ecma262 that referenced this pull request Oct 18, 2021
mathiasbynens pushed a commit to mathiasbynens/ecma262 that referenced this pull request Oct 18, 2021
mathiasbynens pushed a commit to mathiasbynens/ecma262 that referenced this pull request Oct 18, 2021
mathiasbynens pushed a commit to mathiasbynens/ecma262 that referenced this pull request Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial change ready to merge Editors believe this PR needs no further reviews, and is ready to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants