Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
szymon-rd opened this issue Mar 27, 2023 · 0 comments · Fixed by #17157
Closed

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

szymon-rd opened this issue Mar 27, 2023 · 0 comments · Fixed by #17157
Labels
area:linting Linting warnings enabled with -W or -Xlint itype:bug
Milestone

Comments

@szymon-rd
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:linting Linting warnings enabled with -W or -Xlint itype:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants