Skip to content

Commit facf8e7

Browse files
committed
remove todos
1 parent f304823 commit facf8e7

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Cabal-syntax/src/Distribution/PackageDescription/Configuration.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,7 @@ instance L.HasBuildInfo PDTagged where
414414
buildInfo f x = case x of
415415
Lib lib -> Lib <$> L.buildInfo f lib
416416
SubComp name comp -> SubComp name <$> L.buildInfo f comp
417-
-- TODO(leana8959): is there a better way to do this
418-
PDNull -> PDNull <$ (f mempty)
417+
PDNull -> PDNull <$ f mempty
419418

420419
-- | Create a package description with all configurations resolved.
421420
--

cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ import qualified Text.PrettyPrint as Disp
217217

218218
-- | ProjectConfigSkeleton is a tree of conditional blocks and imports wrapping a config. It can be finalized by providing the conditional resolution info
219219
-- and then resolving and downloading the imports
220-
-- TODO(leana8959): maybe move [ProjectConfigPath] into ProjectConfig
221220
type ProjectConfigSkeleton = CondTree ConfVar ([ProjectConfigPath], ProjectConfig)
222221

223222
singletonProjectConfigSkeleton :: ProjectConfig -> ProjectConfigSkeleton

0 commit comments

Comments
 (0)