Skip to content

Patternmatcher fails to bind _: _* correctly #1276

Closed
@felixmulder

Description

@felixmulder

When transforming:

val List(_: _*) = List(1)

_ is evaluated to be an Int instead of a Seq[Int].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions