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/Normative typo: Fix errors introduced in #2166 #2179

Merged
merged 3 commits into from
May 6, 2022

Conversation

linusg
Copy link
Member

@linusg linusg commented May 6, 2022

I think the normative change can be merged without consensus as it merely fixes a bug introduced by refactoring. If not, please let me know and I'll split it out into a separate PR to not hold up the editorial changes.

cc @FrankYFTang

linusg added 3 commits May 6, 2022 13:55
…tDurationFromPlainYearMonth

This AO has both addition and subtraction behavior, based on the first
argument. Update the name accordingly and bring it in line with these
similar AOs:

- AddDurationToOrSubtractDurationFromDuration
- AddDurationToOrSubtractDurationFromInstant
- AddDurationToOrSubtractDurationFromPlainDateTime
- AddDurationToOrSubtractDurationFromPlainTime
- AddDurationToOrSubtractDurationFromZonedDateTime
…PlainTime

This fixes a 'normative typo' introduced in tc39#2166.
Instead of passing temporalTime twice, we need to also pass
temporalDurationLike.
@codecov
Copy link

codecov bot commented May 6, 2022

Codecov Report

Merging #2179 (599c864) into main (3eab7e4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2179   +/-   ##
=======================================
  Coverage   89.95%   89.95%           
=======================================
  Files          19       19           
  Lines       10905    10905           
  Branches     1685     1685           
=======================================
  Hits         9810     9810           
  Misses       1081     1081           
  Partials       14       14           
Flag Coverage Δ
test262 83.48% <ø> (ø)
tests 80.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3eab7e4...599c864. Read the comment docs.

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. I guess I didn't look carefully enough on the last round of review.

@ptomato
Copy link
Collaborator

ptomato commented May 6, 2022

Just to confirm, this change is not normative, as it corrects a mistake introduced in the previous PR #2166. Taken together, the two PRs make no observable changes to the status quo.

@ptomato ptomato merged commit fbff635 into tc39:main May 6, 2022
@linusg linusg deleted the pr-2166-fixes branch May 6, 2022 15:43
@ptomato ptomato added the spec-text Specification text involved label May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec-text Specification text involved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants