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: Clarify CalendarResolveFields TypeError vs. RangeError circumstances #2994

Merged

Conversation

gibson042
Copy link
Collaborator

RangeError is thrown only when non-unset fields can provide sufficient data, which implies that a TypeError was not thrown.

Fixes #2993

…cumstances

RangeError is thrown only when non-unset fields can provide sufficient data,
which implies that a TypeError was not thrown.

Fixes tc39#2993
@gibson042 gibson042 requested a review from ptomato October 3, 2024 16:53
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.42%. Comparing base (14a3fc8) to head (f1dedaa).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2994   +/-   ##
=======================================
  Coverage   96.42%   96.42%           
=======================================
  Files          21       21           
  Lines       10641    10641           
  Branches     1819     1819           
=======================================
  Hits        10261    10261           
  Misses        322      322           
  Partials       58       58           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

LGTM!

@ptomato ptomato merged commit c921094 into tc39:main Oct 3, 2024
10 checks passed
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.

CalendarResolveFields doesn't specify in which order TypeError and RangeError should be thrown
2 participants