Skip to content

Commit

Permalink
Merge pull request #3869 from ezyang/pr/minor-renaming-config-prof
Browse files Browse the repository at this point in the history
Rename configProf/configCoverage local variables to not shadow.
  • Loading branch information
23Skidoo committed Sep 20, 2016
2 parents bb9fd10 + e8d80aa commit 3665f6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cabal/Distribution/Simple/Configure.hs
Expand Up @@ -698,9 +698,9 @@ configure (pkg_descr0', pbi) cfg = do
++ "is not being built. Linking will fail if any executables "
++ "depend on the library."

configProf <- configureProfiling verbosity cfg comp
setProfLBI <- configureProfiling verbosity cfg comp

configCoverage <- configureCoverage verbosity cfg comp
setCoverageLBI <- configureCoverage verbosity cfg comp

reloc <-
if not (fromFlag $ configRelocatable cfg)
Expand All @@ -712,7 +712,7 @@ configure (pkg_descr0', pbi) cfg = do
(componentLocalName clbi) [clbi] m)
Map.empty buildComponents

let lbi = (configCoverage . configProf)
let lbi = (setCoverageLBI . setProfLBI)
LocalBuildInfo {
configFlags = cfg,
flagAssignment = flags,
Expand Down

0 comments on commit 3665f6f

Please sign in to comment.