Skip to content

Varargs notation ::Any... is incorrectly flagged as unused variable #226

Closed
@lassepe

Description

@lassepe

When using ::Any... in a method definition, that argument is incorrectly flagged as "unused variable".

For example:

function my_function(::Any...)
    # ...
end

This warning is suppressed if braces are used:

function my_function(::(Any...))
    # ...
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions