Skip to content

Editorial: Remove 'default' optional parameter from ToTemporalCalendarSlotValue #2913

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

Closed

Conversation

anba
Copy link
Contributor

@anba anba commented Jul 10, 2024

First change ToTemporalMonthDay to call GetTemporalCalendarSlotValueWithISODefault, so the only place which uses the default optional parameter is GetTemporalCalendarSlotValueWithISODefault. And then handle the undefined case directly in GetTemporalCalendarSlotValueWithISODefault.

ptomato and others added 3 commits July 5, 2024 18:00
(This one probably still needs some editorial massaging and needs to be
checked with ecmarkup)

Co-Authored-By: Richard Gibson <[email protected]>
…rSlotValue

First change `ToTemporalMonthDay` to call `GetTemporalCalendarSlotValueWithISODefault`,
so the only place which uses the `default` optional parameter is
`GetTemporalCalendarSlotValueWithISODefault`. And then handle the `undefined` case
directly in `GetTemporalCalendarSlotValueWithISODefault`.
Copy link
Collaborator

@ptomato ptomato left a comment

Choose a reason for hiding this comment

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

Thanks!
What would be more convenient for you? I could merge this now into calendar-time-zone-removals, or leave it as-is until calendar-time-zone-removals is merged, and then rebase this onto main.

@anba
Copy link
Contributor Author

anba commented Jul 10, 2024

Let's do whatever works best for you.

@ptomato ptomato force-pushed the calendar-time-zone-removals branch from 9ecdec4 to 847b3f2 Compare July 11, 2024 22:10
@ptomato
Copy link
Collaborator

ptomato commented Jul 11, 2024

Merged manually into calendar-time-zone-removals. Thanks!

@ptomato ptomato closed this Jul 11, 2024
@anba anba deleted the get-temp-cal-slot-iso branch September 27, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants