Skip to content

Commit

Permalink
Editorial: Simplify ParseTemporalCalendarString
Browse files Browse the repository at this point in the history
Ref #3076
  • Loading branch information
gibson042 authored and ptomato committed Jan 25, 2025
1 parent 2681429 commit 1b1fd9f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions spec/abstractops.html
Original file line number Diff line number Diff line change
Expand Up @@ -1586,11 +1586,10 @@ <h1>
1. If _parseResult_ is a normal completion, then
1. Let _calendar_ be _parseResult_.[[Value]].[[Calendar]].
1. If _calendar_ is ~empty~, return *"iso8601"*.
1. Else, return _calendar_.
1. Else,
1. Set _parseResult_ to ParseText(StringToCodePoints(_string_), |AnnotationValue|).
1. If _parseResult_ is a List of errors, throw a *RangeError* exception.
1. Else, return _string_.
1. Return _calendar_.
1. Set _parseResult_ to ParseText(StringToCodePoints(_string_), |AnnotationValue|).
1. If _parseResult_ is a List of errors, throw a *RangeError* exception.
1. Return _string_.
</emu-alg>
</emu-clause>

Expand Down

0 comments on commit 1b1fd9f

Please sign in to comment.