
#15393: Regression: Detection of unused imports is imprecise (since GHC 8.0.1) -------------------------------------+------------------------------------- Reporter: SimonHengel | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple error/warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by SimonHengel):
To be complete, you are suggesting that the import of Control.Monad in Foo.hs should be warned as redundant?
Yes, this is what GHC < 8.0.1 did. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15393#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler