@@ -65,8 +65,6 @@ module Distribution.Client.Dependency (
6565 addDefaultSetupDependencies ,
6666 ) where
6767
68- import Distribution.Client.Dependency.TopDown
69- ( topDownResolver )
7068import Distribution.Solver.Modular
7169 ( modularResolver , SolverConfig (.. ) )
7270import Distribution.Simple.PackageIndex (InstalledPackageIndex )
@@ -104,7 +102,7 @@ import Distribution.System
104102import Distribution.Client.Utils
105103 ( duplicates , duplicatesBy , mergeBy , MergeResult (.. ) )
106104import Distribution.Simple.Utils
107- ( comparing , warn , info )
105+ ( comparing )
108106import Distribution.Simple.Configure
109107 ( relaxPackageDeps )
110108import Distribution.Simple.Setup
@@ -610,19 +608,12 @@ applySandboxInstallPolicy
610608-- ------------------------------------------------------------
611609
612610chooseSolver :: Verbosity -> PreSolver -> CompilerInfo -> IO Solver
613- chooseSolver verbosity preSolver _cinfo =
611+ chooseSolver _verbosity preSolver _cinfo =
614612 case preSolver of
615- AlwaysTopDown -> do
616- warn verbosity " Topdown solver is deprecated"
617- return TopDown
618613 AlwaysModular -> do
619614 return Modular
620- Choose -> do
621- info verbosity " Choosing modular solver."
622- return Modular
623615
624616runSolver :: Solver -> SolverConfig -> DependencyResolver UnresolvedPkgLoc
625- runSolver TopDown = const topDownResolver -- TODO: warn about unsupported options
626617runSolver Modular = modularResolver
627618
628619-- | Run the dependency solver.
0 commit comments