Skip to content

Commit

Permalink
Fiddle with comment wrapping to avoid haddock error
Browse files Browse the repository at this point in the history
Still doesn't go over 80 chars, woo!
  • Loading branch information
Ericson2314 committed Feb 9, 2017
1 parent e0c5b4a commit 440d1e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cabal/Distribution/Backpack/ConfiguredComponent.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ toConfiguredComponent pkg_descr this_cid deps_map component =
explicit_includes
= [ let cname = maybe CLibName CSubLibName mb_lib_name
(cid, pid) = case Map.lookup (name, cname) deps_map of
-- TODO: give a better error message here if the
-- *package* exists, but doesn't have this
-- component.
-- TODO: give a better error message here if the *package*
-- exists, but doesn't have this component.
Nothing ->
error $ "Mix-in refers to non-existent component " ++ display cname ++
" in " ++ display name ++
Expand Down

0 comments on commit 440d1e3

Please sign in to comment.