[Git][ghc/ghc][wip/ttg/types/basic] redundent import because of moved class instance for Binary OverlapMode

Hassan Al-Awwadi (@hassan.awwadi) gitlab at gitlab.haskell.org
Mon Oct 28 14:21:21 UTC 2024



Hassan Al-Awwadi pushed to branch wip/ttg/types/basic at Glasgow Haskell Compiler / GHC


Commits:
606eabf1 by Hassan Al-Awwadi at 2024-10-28T15:21:06+01:00
redundent import because of moved class instance for Binary OverlapMode

- - - - -


1 changed file:

- compiler/GHC/Hs/OverlapPragma.hs


Changes:

=====================================
compiler/GHC/Hs/OverlapPragma.hs
=====================================
@@ -22,10 +22,8 @@ import GHC.Hs.Extension (GhcPass, GhcTc)
 
 import GHC.Types.SourceText
 
-import GHC.Utils.Binary
 import GHC.Utils.Outputable
 
-import GHC.Utils.Panic (panic)
 
 ------------------------
 -- type family instances
@@ -84,8 +82,6 @@ instance Outputable (OverlapMode (GhcPass p)) where
 instance Outputable OverlapFlag where
    ppr flag = ppr (overlapMode flag) <+> pprSafeOverlap (isSafeOverlap flag)
 
-
-
 ------------------------
 -- helper functions
 hasIncoherentFlag :: OverlapMode (GhcPass p) -> Bool



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/606eabf190f98fc0ece53349829ca8c00eee4013

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/606eabf190f98fc0ece53349829ca8c00eee4013
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241028/f8fa4999/attachment-0001.html>


More information about the ghc-commits mailing list