[commit: ghc] wip/ttypeable: Kill todo (8801237)

git at git.haskell.org git at git.haskell.org
Mon Jun 6 11:12:21 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/ttypeable
Link       : http://ghc.haskell.org/trac/ghc/changeset/88012374c21915ccadc707dc8c77ca74f951e200/ghc

>---------------------------------------------------------------

commit 88012374c21915ccadc707dc8c77ca74f951e200
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed Mar 16 13:36:24 2016 +0100

    Kill todo


>---------------------------------------------------------------

88012374c21915ccadc707dc8c77ca74f951e200
 libraries/base/Data/Typeable/Internal.hs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libraries/base/Data/Typeable/Internal.hs b/libraries/base/Data/Typeable/Internal.hs
index bb2bcc2..2252634 100644
--- a/libraries/base/Data/Typeable/Internal.hs
+++ b/libraries/base/Data/Typeable/Internal.hs
@@ -261,8 +261,7 @@ typeRepKind (TrTyCon _ _ k) = k
 typeRepKind (TrApp _ f _) =
     case typeRepKind f of
         TRFun _arg res -> res
-        -- TODO: why is this case needed?
-        _  -> error "typeRepKind: impossible"
+        _              -> error "typeRepKind: impossible"
 
 -- | Observe the type constructor of a quantified type representation.
 typeRepXTyCon :: TypeRepX -> TyCon



More information about the ghc-commits mailing list