Skip to content

Cannot annotate constructor with @varargs #8383

Open
@scabug

Description

@scabug

You can have varargs constructors in both Scala and Java, but you can't annotate a varargs constructor in Scala with @VarArgs - you get an error message "A constructor cannot be annotated with a @varargs annotation".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions