[Git][ghc/ghc][wip/torsten.schmits/oneshot-bytecode-pkgdeps] re-add missing call to adjust_linkable for home modules
Torsten Schmits (@torsten.schmits)
gitlab at gitlab.haskell.org
Fri Jul 12 14:44:07 UTC 2024
Torsten Schmits pushed to branch wip/torsten.schmits/oneshot-bytecode-pkgdeps at Glasgow Haskell Compiler / GHC
Commits:
c5414555 by Torsten Schmits at 2024-07-12T16:44:02+02:00
re-add missing call to adjust_linkable for home modules
- - - - -
1 changed file:
- compiler/GHC/Linker/Deps.hs
Changes:
=====================================
compiler/GHC/Linker/Deps.hs
=====================================
@@ -49,7 +49,6 @@ import GHC.Unit.Home
import GHC.Data.Maybe
import Control.Applicative
-import Control.Monad
import Control.Monad.IO.Class (MonadIO (liftIO))
import Control.Monad.Trans.Except (ExceptT, runExceptT, throwE)
@@ -209,7 +208,7 @@ get_link_deps opts pls maybe_normal_osuf span mods = do
module_linkable = \case
LinkHomeModule hmi ->
- pure (expectJust "getLinkDeps" (homeModLinkable hmi))
+ adjust_linkable (expectJust "getLinkDeps" (homeModLinkable hmi))
LinkObjectModule iface loc -> do
let mod = mi_module iface
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c54145559449d7b3032c5256ab19d1de650b8788
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c54145559449d7b3032c5256ab19d1de650b8788
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/20240712/607111ad/attachment.html>
More information about the ghc-commits
mailing list