[commit: ghc] wip/ttypeable: Kill todo (8700769)
git at git.haskell.org
git at git.haskell.org
Wed Apr 13 17:55:19 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/ttypeable
Link : http://ghc.haskell.org/trac/ghc/changeset/8700769c923c5fdde510b4598c4751b1b0cd9cd0/ghc
>---------------------------------------------------------------
commit 8700769c923c5fdde510b4598c4751b1b0cd9cd0
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Mar 16 13:36:24 2016 +0100
Kill todo
>---------------------------------------------------------------
8700769c923c5fdde510b4598c4751b1b0cd9cd0
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