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

Investigate false positive unused import in Scala 3 #5

Closed
wants to merge 2 commits into from

Conversation

bjaglin
Copy link
Owner

@bjaglin bjaglin commented Feb 3, 2024

Once this PR scala/scala3#17835
has merged and released, scalafix-organize-imports should be
able to run OrganizeImports.removeUnused based on the
diagnostics information in SemanticDB emit from Scala3 compiler.

In order to make OrganizeImports rule to work with Scala 3,
this commit added a few adjustments to the rule.
@bjaglin bjaglin changed the title Support OrganizeImports.removeUnused in Scala 3 Investigate false positive unused import in Scala 3 Feb 3, 2024
@bjaglin bjaglin force-pushed the falsepositiveunused branch from 1645eac to 5550dad Compare February 3, 2024 15:57
@bjaglin
Copy link
Owner Author

bjaglin commented Feb 3, 2024

reproduced locally

@bjaglin bjaglin closed this Feb 3, 2024
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

Successfully merging this pull request may close these issues.

2 participants