Skip to content

Commit 4d3f7b5

Browse files
Remove TODO mentioning top down solver
[ci skip]
1 parent be6c37d commit 4d3f7b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cabal-install/Distribution/Client/Dependency.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,7 @@ dontUpgradeNonUpgradeablePackages params =
338338
, pkgname <- map PackageName [ "base", "ghc-prim", "integer-gmp"
339339
, "integer-simple" ]
340340
, isInstalled pkgname ]
341-
-- TODO: the top down resolver chokes on the base constraints
342-
-- below when there are no targets and thus no dep on base.
343-
-- Need to refactor constraints separate from needing packages.
341+
344342
isInstalled = not . null
345343
. InstalledPackageIndex.lookupPackageName
346344
(depResolverInstalledPkgIndex params)

0 commit comments

Comments
 (0)