This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22883 - 4.5.1.1: "the argument at index i"
Summary: 4.5.1.1: "the argument at index i"
Status: RESOLVED INVALID
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 07:08 UTC by Michael Dyck
Modified: 2017-07-27 12:25 UTC (History)
3 users (show)

See Also:


Attachments

Description Michael Dyck 2013-08-05 07:08:15 UTC
In 4.5.1.1. "Interface object [[Call]] method",
in the overload resolution algorithm,
step 9.4.1 says:
    If the argument at index i is declared with a default value,
    then append to values that default value.

But: the argument at index i of what? Of some callable, presumably, but there isn't a distinguished callable at this point in the algorithm, because there are still multiple entries in S.

(Contrast with steps 12.4.1 and 13.1, where there *is* a single callable.)
Comment 1 Tobie Langel 2017-07-27 12:25:13 UTC
All entries in S at this point have the same type and optionality value at index i. 

This is now clarified by a note.

Closing.