[Git][ghc/ghc][wip/unwire-base] pkg import

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Thu Aug 29 15:42:07 UTC 2024



Matthew Pickering pushed to branch wip/unwire-base at Glasgow Haskell Compiler / GHC


Commits:
4c7f369e by Matthew Pickering at 2024-08-29T16:41:56+01:00
pkg import

- - - - -


2 changed files:

- compiler/GHC/Parser/Header.hs
- utils/haddock/haddock-api/src/Haddock/GhcUtils.hs


Changes:

=====================================
compiler/GHC/Parser/Header.hs
=====================================
@@ -139,7 +139,7 @@ mkPrelImports this_mod loc implicit_prelude import_decls
         -- allow explicit "base" package qualifier (#19082, #17045)
         && case ideclPkgQual decl of
             NoRawPkgQual -> True
-            RawPkgQual b -> sl_fs b == "this"
+            RawPkgQual {} -> False
 
 
       loc' = noAnnSrcSpan loc


=====================================
utils/haddock/haddock-api/src/Haddock/GhcUtils.hs
=====================================
@@ -131,12 +131,6 @@ isClassD _ = False
 pretty :: Outputable a => SDocContext -> a -> String
 pretty sDocContext thing = Outputable.renderWithContext sDocContext (ppr thing)
 
-dataListModule :: Module
-dataListModule = mkBaseModule (fsLit "Data.List")
-
-dataTupleModule :: Module
-dataTupleModule = mkBaseModule (fsLit "Data.Tuple")
-
 -- ---------------------------------------------------------------------
 
 -- These functions are duplicated from the GHC API, as they must be



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4c7f369eaa94cb94b7156731af6ce0e5e7eee080

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4c7f369eaa94cb94b7156731af6ce0e5e7eee080
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/20240829/b3408efc/attachment-0001.html>


More information about the ghc-commits mailing list