Skip to content

Tuple1 and named tuple extractor #23174

Open
@xuwei-k

Description

@xuwei-k

Compiler version

  • 3.7.0
  • 3.7.1-RC1
  • 3.7.2-RC1-bin-20250514-a553986-NIGHTLY

Minimized code

scala> val Tuple1(hello = b) = Tuple1(3)
val b: Int = 3

Expectation

expect compile error. but success.

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