Skip to content

Commit c7abe0a

Browse files
authored
Merge pull request haskell#10450 from haskell/mergify/bp/3.14/pr-10403
avoid incomplete record selection warning (backport haskell#10403)
2 parents cc3ccda + 505f875 commit c7abe0a

File tree

1 file changed

+3
-1
lines changed
  • Cabal/src/Distribution/Simple/GHC/Build

1 file changed

+3
-1
lines changed

Cabal/src/Distribution/Simple/GHC/Build/Link.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,9 @@ runReplOrWriteFlags ghcProg lbi rflags ghcOpts pkg_name target =
735735
Flag out_dir -> do
736736
let uid = componentUnitId clbi
737737
this_unit = prettyShow uid
738-
reexported_modules = [mn | LibComponentLocalBuildInfo{} <- [clbi], IPI.ExposedModule mn (Just{}) <- componentExposedModules clbi]
738+
reexported_modules =
739+
[ mn | LibComponentLocalBuildInfo{componentExposedModules = exposed_mods} <- [clbi], IPI.ExposedModule mn (Just{}) <- exposed_mods
740+
]
739741
hidden_modules = otherModules bi
740742
extra_opts =
741743
concat $

0 commit comments

Comments
 (0)