Skip to content

Unused explicit parameter warning on last member of enum #16878

Closed
@markehammons

Description

@markehammons

Compiler version

3.3.0-RC2

Minimized code

enum A:
  case B
  case C
  case D

https://scastie.scala-lang.org/Amnc44icRuqsIoBP1tgQbg

Output

Unused explicit parameter on case D

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:lintingLinting warnings enabled with -W or -Xlintitype:bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions