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

git at git.haskell.org git at git.haskell.org
Sat Oct 1 21:34:22 UTC 2016


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

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

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

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

    Kill todo


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

c06f90dca8519d67f081e6ff154d02e4b638824c
 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