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: Move calendar validation out of ParseTemporalCalendarString #1954

Merged
merged 2 commits into from
Dec 6, 2021

Conversation

ptomato
Copy link
Collaborator

@ptomato ptomato commented Dec 3, 2021

Similar to #1897, we want to move any validation that is not purely syntactic out of ParseTemporal___String abstract operations. This accomplishes that for Calendar. However, it affects nothing observable, just reorganizes code.

Closes: #1901

Similar to #1897, we want to move any validation that is not purely
syntactic out of ParseTemporal___String abstract operations. This
accomplishes that for Calendar. However, it affects nothing observable,
just reorganizes code.

Closes: #1901
@ptomato ptomato requested review from Ms2ger and sarahghp December 3, 2021 20:30
@ptomato
Copy link
Collaborator Author

ptomato commented Dec 3, 2021

cc @FrankYFTang

@codecov
Copy link

codecov bot commented Dec 3, 2021

Codecov Report

Merging #1954 (45b000d) into main (c49eb19) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1954   +/-   ##
=======================================
  Coverage   95.00%   95.00%           
=======================================
  Files          19       19           
  Lines       10949    10949           
  Branches     1739     1739           
=======================================
  Hits        10402    10402           
  Misses        531      531           
  Partials       16       16           
Flag Coverage Δ
test262 80.05% <ø> (ø)
tests 89.84% <ø> (ø)

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 c49eb19...45b000d. Read the comment docs.

@ptomato ptomato added the spec-text Specification text involved label Dec 3, 2021
@Ms2ger Ms2ger merged commit 7207a1c into main Dec 6, 2021
@Ms2ger Ms2ger deleted the 1901-validation branch December 6, 2021 10:06
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.

Should all the parsing routines only validate the syntax?
2 participants