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

Actionable diagnostic for duplicated directives #2634

Open
Gedochao opened this issue Dec 15, 2023 · 0 comments
Open

Actionable diagnostic for duplicated directives #2634

Gedochao opened this issue Dec 15, 2023 · 0 comments
Labels

Comments

@Gedochao
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Duplicated using directives don't cause any warnings.
Declaring a dependency twice with different versions will cause one of them to be ignored.

Describe the solution you'd like
Detect duplication of using directives in project and suggest users to have only one. For example in the project we should have only one using directive to specify scala version //> using scala.
An actionable diagnostic would be useful.

Additional context
extracted from #1542

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

No branches or pull requests

1 participant