Skip to content

WUnused: Deriving an alias type causes false-positive #17156

Closed
@szymon-rd

Description

@szymon-rd

Compiler version

3.3.0-RC2

Minimized code

import cats.Eq
import cats.derived._

case class Foo[A](a: List[A]) derives Eq

Output

Eq import reported as unused

Expectation

No unused warn

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions