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

Delegate review: Specify in which order properties are accessed when passing object to implementation-defined operation #1388

Closed
ptomato opened this issue Feb 25, 2021 · 0 comments · Fixed by #1430
Assignees
Labels
non-prod-polyfill THIS POLYFILL IS NOT FOR PRODUCTION USE! spec-text Specification text involved tc39-review
Milestone

Comments

@ptomato
Copy link
Collaborator

ptomato commented Feb 25, 2021

From #1383. In implementation-defined operations such as non-ISO calendars (e.g. https://tc39.es/proposal-temporal/#sup-temporal.calendar.prototype.datefromfields) it must be specified in which order properties from these objects are accessed. The objects should be copied and objects containing data properties should be passed to the operations, so that getters are not called more than once.

cc @bmeck

@ptomato ptomato added spec-text Specification text involved non-prod-polyfill THIS POLYFILL IS NOT FOR PRODUCTION USE! labels Feb 25, 2021
@ptomato ptomato added this to the Stage 3 milestone Feb 25, 2021
@cjtenny cjtenny self-assigned this Mar 4, 2021
cjtenny added a commit that referenced this issue Mar 8, 2021
…in consistent order and only call getters once.

Fixes #1388.
cjtenny added a commit that referenced this issue Mar 8, 2021
…in consistent order and only call getters once.

Fixes #1388.
cjtenny added a commit that referenced this issue Mar 9, 2021
…in consistent order and only call getters once.

Fixes #1388.
cjtenny added a commit that referenced this issue Mar 9, 2021
…in consistent order and only call getters once.

Fixes #1388.
ptomato pushed a commit that referenced this issue Mar 9, 2021
…in consistent order and only call getters once.

Fixes #1388.
cjtenny added a commit that referenced this issue Mar 9, 2021
…in consistent order and only call getters once. (#1430)

Fixes #1388.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-prod-polyfill THIS POLYFILL IS NOT FOR PRODUCTION USE! spec-text Specification text involved tc39-review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants