[Git][ghc/ghc][wip/T25281] More

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Sun Oct 6 22:13:17 UTC 2024



Simon Peyton Jones pushed to branch wip/T25281 at Glasgow Haskell Compiler / GHC


Commits:
90e4736b by Simon Peyton Jones at 2024-10-06T23:13:02+01:00
More

- - - - -


1 changed file:

- compiler/GHC/Rename/Names.hs


Changes:

=====================================
compiler/GHC/Rename/Names.hs
=====================================
@@ -208,7 +208,7 @@ rnImports imports = do
     -- module to import from its implementor
     let this_mod = tcg_mod tcg_env
     let (source, ordinary) = partition (is_source_import . fst) imports
-        is_source_import d = ideclSource (unLoc d) == IsBoot
+        is_source_import (d::LImportDecl GhcPs) = ideclSource (unLoc d) == IsBoot
     stuff1 <- mapAndReportM (rnImportDecl this_mod) ordinary
     stuff2 <- mapAndReportM (rnImportDecl this_mod) source
     -- Safe Haskell: See Note [Tracking Trust Transitively]



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/90e4736b624a9eb9485fce56e027e59d5e6f8d6c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/90e4736b624a9eb9485fce56e027e59d5e6f8d6c
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/20241006/a278182f/attachment.html>


More information about the ghc-commits mailing list