[Git][ghc/ghc][wip/sv/T25246-b] Temp workaround

Sjoerd Visscher (@trac-sjoerd_visscher) gitlab at gitlab.haskell.org
Thu Oct 17 09:41:31 UTC 2024



Sjoerd Visscher pushed to branch wip/sv/T25246-b at Glasgow Haskell Compiler / GHC


Commits:
008c7af8 by Sjoerd Visscher at 2024-10-17T11:41:22+02:00
Temp workaround

- - - - -


1 changed file:

- compiler/GHC/Unit/Finder.hs


Changes:

=====================================
compiler/GHC/Unit/Finder.hs
=====================================
@@ -462,7 +462,7 @@ findInstalledHomeModule fc fopts home_unit gwib at GWIB { gwib_mod = mod_name, gwib
    -- This is important only when compiling the base package (where GHC.Prim
    -- is a home module).
    if mod `installedModuleEq` gHC_PRIM
-         then return (InstalledFound (error "GHC.Prim ModLocation"))
+         then return (InstalledFound (OsPathModLocation undefined undefined undefined undefined undefined undefined)) -- (error "GHC.Prim ModLocation"))
          else searchPathExts search_dirs mod exts
 
 -- | Prepend the working directory to the search path.
@@ -495,7 +495,7 @@ findPackageModule_ fc fopts gwib at GWIB { gwib_mod = mod } pkg_conf = do
 
     -- special case for GHC.Prim; we won't find it in the filesystem.
     if mod `installedModuleEq` gHC_PRIM
-          then return (InstalledFound (error "GHC.Prim ModLocation"))
+          then return (InstalledFound (OsPathModLocation undefined undefined undefined undefined undefined undefined)) -- (error "GHC.Prim ModLocation"))
           else
 
     let



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/008c7af8dcfaa70a7c005e72a6e69ff8a39899e9

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/008c7af8dcfaa70a7c005e72a6e69ff8a39899e9
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/20241017/bdcf54e2/attachment-0001.html>


More information about the ghc-commits mailing list