Hey all!
I’ve made a proposal to split -Wunused-imports
into two warnings:
-
-Wunused-imports
- warn when an import is “actually unused” -
-Wduplicate-imports
- warn when a definition is imported more than once
Crucially, only the first one will be in -Wall
.
I believe this will greatly benefit maintaining packages against multiple GHC versions, but I would rather not mess something up, so I would love to hear more opinions in the proposal itself - Split -Wunused-imports by googleson78 · Pull Request #586 · ghc-proposals/ghc-proposals · GitHub