Skip to content

Commit 7d89a66

Browse files
committed
trivia
1 parent 4b6ebcc commit 7d89a66

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cabal-install/src/Distribution/Client/ProjectPlanning.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ elaborateInstallPlan
16321632

16331633
flip InstallPlan.fromSolverInstallPlanWithProgress solverPlan $ \mapDep planpkg -> do
16341634
infoProgress (text "Elaborating" <+> pretty (solverId planpkg))
1635-
elabs <- case planpkg of
1635+
case planpkg of
16361636
SolverInstallPlan.PreExisting pkg -> do
16371637
let ipkg = InstallPlan.PreExisting (WithStage (instSolverStage pkg) (instSolverPkgIPI pkg))
16381638
return [ipkg]
@@ -1648,8 +1648,6 @@ elaborateInstallPlan
16481648
) (elaborateSolverToComponents mapDep pkg)
16491649
infoProgress $ hang (pretty (solverId planpkg) <+> text "->") 4 $ vcat (map pretty elabs)
16501650
return $ map InstallPlan.Configured elabs
1651-
1652-
return elabs
16531651

16541652
-- NB: We don't INSTANTIATE packages at this point. That's
16551653
-- a post-pass. This makes it simpler to compute dependencies.

0 commit comments

Comments
 (0)