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

Correct non-normative summary of the overload resolution algorithm. #822

Merged
merged 1 commit into from
Nov 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -11088,10 +11088,14 @@ Note: The HTML Standard defines how a security check is performed. [[!HTML]]
and there is an overload with an optional argument at this position, then
we will choose that overload. If there is no valid overload for the type of
value passed in here, then we throw a {{ECMAScript/TypeError}}.
The inspection of the value at the distinguishing argument index does not have any side effects;
the only side effects that come from running the overload resolution
algorithm are those that come from converting the ECMAScript values
to IDL values.
Generally, the inspection of the value at the distinguishing argument index does not have any
side effects, and the only side effects in the overload resolution algorithm are the result of
converting the ECMAScript values to IDL values.
(An exception exists when one of the overloads has a [=sequence type=] or [=frozen array type=]
at the distinguishing argument index.
In this case, we attempt to get the {{@@iterator}} property to determine the appropriate
overload, and perform the conversion of the distinguishing argument separately before continuing
with the next step.)

At this point, we have determined which overload to use. We now
convert the remaining arguments, from the distinguishing argument onwards,
Expand Down