-
Notifications
You must be signed in to change notification settings - Fork 163
Normative: Use internal slot in UnbalanceDurationRelative. #1616
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1616 +/- ##
==========================================
- Coverage 95.10% 94.82% -0.29%
==========================================
Files 19 19
Lines 10764 10761 -3
Branches 1725 1725
==========================================
- Hits 10237 10204 -33
- Misses 514 544 +30
Partials 13 13
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Oops, this looks like my mistake, and I agree it's a normative change
Since the step 4 stement in CalendarDateUntil is 4. Perform ? RequireInternalSlot(duration, [[InitializedTemporalDuration]]). _untilResult_ is guarantee to be a TemporalDuration object and there are no need to call Get - which could return any kind of values, but only need to acecss [[Months]] which is guarantee for certain type and range.
3d92ef9
to
ca050fd
Compare
I've added Frank's additional fixes from #1673 here, to consolidate the two pull requests, and added test coverage for each entry point where this happens. |
thanks |
This change achieved consensus in TC39. |
No description provided.