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

Using @JsonCodec + Scala 2.13.2 + sbt-tpolecat doesn't report unused imports #1484

Closed
GuillaumeSaintRaymondSonos opened this issue Jun 10, 2020 · 2 comments

Comments

@GuillaumeSaintRaymondSonos

Here is a sample project reproducing the problem: https://github.com/GuillaumeSaintRaymondSonos/sbt-tpolecat-circe/ where I left an unused import in Hello.scala. The compiler doesn't report anything.
By downgrading to Scala 2.13.1, the compiler reports correctly the unused import.

I opened the issue first on the sbt-tpolecat repository.
I'm not 100% sure the problem comes from circe but I would appreciate greatly if I can have your point of view on this.

@SethTisue
Copy link
Contributor

note that scala/scala#8799 may be relevant

@GuillaumeSaintRaymondSonos
Copy link
Author

Tried today with Scala 2.13.3, unused import is reported !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants