Commit da58d151 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Kill redundant import

I don't really understand this.  GHC.hs had:

  module GHC( ...,  module HsSyn, ... ) where
    import HsSyn
    import qualified HsSyn -- hack as we want to reexport the whole module

GHC now reports the 'import qualified' line as redundant; and it certainly
is, because 'import HsSyn' brings everything into scope qualified *and*
unqualified.   I have no idea why the "hack" was necessary before, but
following my refactoring of tcg_used_gres (previous commit), it's reported
as redundant, so I've deleted it.

I'm making it a separate commit because it seems a bit mysterious and I
wanted to draw attention to it.
parent 3e94842d
......@@ -302,7 +302,6 @@ import TcRnTypes
import Packages
import NameSet
import RdrName
import qualified HsSyn -- hack as we want to reexport the whole module
import HsSyn
import Type hiding( typeKind )
import Kind ( tyConResKind )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment