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

> So in your examples I think you get a max of 4 and 5, not 2 and 4.

Er, yes.  That is correct.  Sorry, it's been a while and this stuff is not as simple as I wish it were.

> Additionally, I don't think there's a reason to restrict the entries of S by N when computing the effective overloads

It's not restricting.  As you note, it's a `max`, not a `min`, so it's expanding `S`.  And the reason it's expanding is because of variadic arguments.  That's the only place _max_ is used: to handle variadic arguments.

-- 
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#issuecomment-447954222

Received on Monday, 17 December 2018 18:45:48 UTC