Skip to content

Commit

Permalink
avoid incomplete record selection warning
Browse files Browse the repository at this point in the history
Per SPJ suggection.

Closes: #10402
(cherry picked from commit b1798b5)
  • Loading branch information
geekosaur committed Oct 29, 2024
1 parent d1fbeaf commit db896cd
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 @@ -735,7 +735,9 @@ runReplOrWriteFlags ghcProg lbi rflags ghcOpts pkg_name target =
Flag out_dir -> do
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 db896cd

Please sign in to comment.