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

Unused imports difficult to silence #12326

Closed
som-snytt opened this issue Jan 30, 2021 · 3 comments · Fixed by scala/scala#9939
Closed

Unused imports difficult to silence #12326

som-snytt opened this issue Jan 30, 2021 · 3 comments · Fixed by scala/scala#9939

Comments

@som-snytt
Copy link

reproduction steps

using Scala 2.13,

scala/scala-collection-compat#240

demonstrates that the collection.compat import is difficult to selectively silence.

problem

If unused import warning specified origin (the imported thing, minus any wildcard) it would be trivial to suppress origin=scala.collection.compat.

@SethTisue
Copy link
Member

@som-snytt thinking of returning to this yourself? or should we just leave it out here with the "help wanted" sign?

@som-snytt
Copy link
Author

Maybe with the "abandon hope all ye who enter here" sign.

@valencik
Copy link

@som-snytt could you elaborate on the "2 🐩 " close reason here? 😆
The scala-collection-compat seems like it could reach the bar for warranting a special case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment