apply-refact
apply-refact copied to clipboard
Imports get removed when they have unnecessary hiding statements
When hlint finds an import that has an unnecessary hiding statement, apply-refact removes the entire statement instead of just removing the unnecessary hidings. For example, in the following code apply-refact removes the entire line which makes the code fail to compile.
import Data.List hiding (sort)
test :: [String]
test = group "aaabb"