You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add ignore_first_metatype_parameter boolean option to function_default_parameter_at_end #6881
Please add a ignore_first_metatype_parameter boolean option to function_default_parameter_at_end that, when true, ignores the first metatype parameter (i.e. a parameter whose type is is *.Type; e.g., see this).
Metatype parameters with default arguments generally belong at the front of their parameter list due to English grammar, and they are frequent enough to warrant an ignore option.
Defaulting to false would mimic current behavior, but I bet it wouldn't be that bad to default to true, because that wouldn't generate false positives, and I doubt it would generate false negatives.
Activity