Skip to content

Commit 99bef58

Browse files
committed
refactor(cabal-install): remove dead code
1 parent b4d0f63 commit 99bef58

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,18 +87,6 @@ data SolverInstallPlan = SolverInstallPlan
8787
}
8888
deriving (Generic)
8989

90-
{-
91-
-- | Much like 'planPkgIdOf', but mapping back to full packages.
92-
planPkgOf :: SolverInstallPlan
93-
-> Graph.Vertex
94-
-> SolverPlanPackage
95-
planPkgOf plan v =
96-
case Graph.lookupKey (planIndex plan)
97-
(planPkgIdOf plan v) of
98-
Just pkg -> pkg
99-
Nothing -> error "InstallPlan: internal error: planPkgOf lookup failed"
100-
-}
101-
10290
instance Binary SolverInstallPlan
10391
instance Structured SolverInstallPlan
10492

0 commit comments

Comments
 (0)