Skip to content

Commit

Permalink
Increment |index| in loop properly. (Fixes #173) (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanderview authored Nov 21, 2022
1 parent 4e670f9 commit bf944e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ A [=component=] has an associated <dfn for=component>group name list</dfn>, a [=
1. Let |name| be |component|'s [=component/group name list=][|index| &minus; 1].
1. Let |value| be [$Get$](|execResult|, [$ToString$](|index|)).
1. Set |groups|[|name|] to |value|.
1. Increment |index| by 1.
1. Set |result|["{{URLPatternComponentResult/groups}}"] to |groups|.
1. Return |result|.
</div>
Expand Down

0 comments on commit bf944e9

Please sign in to comment.