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

git at git.haskell.org git at git.haskell.org
Fri Jul 8 14:30:56 UTC 2016


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

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

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

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

    Kill todo


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

abc44be747f4add452b643b7874c0c2193d3c2a5
 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 0d69f7a..11612fd 100644
--- a/libraries/base/Data/Typeable/Internal.hs
+++ b/libraries/base/Data/Typeable/Internal.hs
@@ -264,8 +264,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