[heycam/webidl] Is step 4 of the effective overload set construction unnecessary? (#600)

Can you clarify the difference between N, max, and maxarg from step 4 in the algorithm for the [effective overload set](https://heycam.github.io/webidl/#dfn-effective-overload-set). 

It seems like N is something that describes one of the entries in F: the number of arguments.  I think line 4 is meant to determine the max arguments for any element in F, but that also seems to be what step 3 has calculated as maxarg.  So can step 4 just be omitted?

From the spec:
>3. Let maxarg be the maximum number of arguments the operations, constructor extended attributes or callback functions in F are declared to take. For variadic operations and constructor extended attributes, the argument on which the ellipsis appears counts as a single argument.
>
>4. Let max be max(maxarg, N).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/600

Received on Saturday, 15 December 2018 01:37:59 UTC