You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by nicklimmm June 3, 2024
I often find myself removing the unused imported types and values manually after I'm done with prototyping or refactoring.
Gleam can remove all unused imports, but not imported types and values yet.
A simple example:
importgleam/list.{find}// ->`find` is unusedimportgleam/uri.{typeUri}// -> `Uri` is unused
Should become:
importgleam/listimportgleam/uri
This would be a good QOL improvement, especially if we are dealing with a lot of imported types and values.
The text was updated successfully, but these errors were encountered:
Discussed in #3241
Originally posted by nicklimmm June 3, 2024
I often find myself removing the unused imported types and values manually after I'm done with prototyping or refactoring.
Gleam can remove all unused imports, but not imported types and values yet.
A simple example:
Should become:
This would be a good QOL improvement, especially if we are dealing with a lot of imported types and values.
The text was updated successfully, but these errors were encountered: