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

Shadowing an alias without using it does not warn #13549

Closed
sabiwara opened this issue May 10, 2024 · 0 comments · Fixed by #13550
Closed

Shadowing an alias without using it does not warn #13549

sabiwara opened this issue May 10, 2024 · 0 comments · Fixed by #13550
Labels

Comments

@sabiwara
Copy link
Contributor

      defmodule Sample do
        alias Foo.Baz
        alias Bar.Baz
        def baz, do: Baz
      end

does not complain about the first alias which is unused in practice.

Will send a PR.

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

Successfully merging a pull request may close this issue.

1 participant