DescriptionIDL: Improve overload resolution for methods with variadic arguments
When calculating "optionality list" for a method (as part of calculating
the effective overload set), treat variadic arguments as optional instead
as required.
WebIDL defines the optionality list as a list of "required", "optional"
and "variadic", whereas we implement it as a list of booleans. A list of
booleans is enough to achieve correct behavior, assuming both "optional"
and "variadic" are considered to be optional (true).
BUG=293561
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185289
Patch Set 1 : add test #Patch Set 2 : the fix #
Messages
Total messages: 14 (6 generated)
|