pen-lang/pen

Filter out unused types in imports

raviqqe opened this issue · 0 comments

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?