Descriptionbindings: make toImplArguments() less strict
Allow it to be called with startIndex that is greater than info.Length().
This will happen from the generated code for a method such as
void f(long x, optional long y = 0, long... rest);
when called with a single argument.
Also a minor improvement: reserve a tighter initial capacity for the
result vector. Capacity used to be reserved for storing all arguments,
disregarding the startIndex value.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185366
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|