Skip to content
Snippets Groups Projects
Commit b1798b5f authored by Brandon S. Allbery's avatar Brandon S. Allbery Committed by Mikolaj
Browse files

avoid incomplete record selection warning

Per SPJ suggection.

Closes: #10402
parent 504c7bc1
No related branches found
No related tags found
No related merge requests found
......@@ -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 $
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment