Skip to content

Commit

Permalink
Merge pull request #10449 from haskell/mergify/bp/3.12/pr-10403
Browse files Browse the repository at this point in the history
avoid incomplete record selection warning (backport #10403)
  • Loading branch information
mergify[bot] authored Oct 12, 2024
2 parents 12d5db6 + 8ad8e51 commit 28f021d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cabal/src/Distribution/Simple/GHC/Build/Link.hs
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,9 @@ runReplOrWriteFlags ghcProg lbi rflags ghcOpts pkg_name target =
src_dir <- getCurrentDirectory
let uid = componentUnitId clbi
this_unit = prettyShow uid
reexported_modules = [mn | LibComponentLocalBuildInfo{} <- [clbi], IPI.ExposedModule mn (Just{}) <- componentExposedModules clbi]
reexported_modules =
[ mn | LibComponentLocalBuildInfo{componentExposedModules = exposed_mods} <- [clbi], IPI.ExposedModule mn (Just{}) <- exposed_mods
]
hidden_modules = otherModules bi
extra_opts =
concat $
Expand Down

0 comments on commit 28f021d

Please sign in to comment.