| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index 75b6b59729ff2b1fca3d133e57b1123755098cd4..85bdb0a50db8240c200073776b71fb7430edc6b0 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -303,9 +303,8 @@ static void {{overloads.name}}Method{{world_suffix}}(const v8::FunctionCallbackI
|
| UseCounter::countDeprecation(callingExecutionContext(isolate), UseCounter::{{overloads.deprecate_all_as}});
|
| {% endif %}
|
| {# First resolve by length #}
|
| - {# FIXME: 2. Initialize argcount to be min(maxarg, n). #}
|
| - {# switch (std::min({{overloads.maxarg}}, info.Length())) { #}
|
| - switch (info.Length()) {
|
| + {# 2. Initialize argcount to be min(maxarg, n). #}
|
| + switch (std::min({{overloads.maxarg}}, info.Length())) {
|
| {# 3. Remove from S all entries whose type list is not of length argcount. #}
|
| {% for length, tests_methods in overloads.length_tests_methods %}
|
| case {{length}}:
|
|
|