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

Filter out unused types in imports #1334

Open
raviqqe opened this issue Aug 17, 2022 · 0 comments
Open

Filter out unused types in imports #1334

raviqqe opened this issue Aug 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@raviqqe
Copy link
Contributor

raviqqe commented Aug 17, 2022

Problem

  • We import all types into modules even when the types are not used actually.

Solution

  • Filter out unused types in imports.
    • At conversion from AST to HIR?
    • Or, just as a HIR transformation pass?
@raviqqe raviqqe added the enhancement New feature or request label Aug 17, 2022
@raviqqe raviqqe added this to main Aug 17, 2022
@raviqqe raviqqe moved this to Todo in main Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant