summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2011-05-06 15:34:32 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2011-05-06 15:34:32 +0100
commitabfa45f26f9a5d2bc67b18b7820e0b4039f12ad3 (patch)
tree5eec92cd7363c79bee9f768eb3cb610c2209fb1a
parentee62a1b6847e42f76383b2e70003f2feb9e8435c (diff)
downloadhaskell-abfa45f26f9a5d2bc67b18b7820e0b4039f12ad3.tar.gz
Remove special case for EqPred in CoreView
-rw-r--r--compiler/types/Type.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/types/Type.lhs b/compiler/types/Type.lhs
index 1958a5cea8..0f77bcf8a3 100644
--- a/compiler/types/Type.lhs
+++ b/compiler/types/Type.lhs
@@ -254,7 +254,7 @@ coreView :: Type -> Maybe Type
-- By being non-recursive and inlined, this case analysis gets efficiently
-- joined onto the case analysis that the caller is already doing
coreView (PredTy p)
- | isEqPred p = Nothing
+-- | isEqPred p = Nothing
| otherwise = Just (predTypeRep p)
coreView (TyConApp tc tys) | Just (tenv, rhs, tys') <- coreExpandTyCon_maybe tc tys
= Just (mkAppTys (substTy (mkTopTvSubst tenv) rhs) tys')