[commit: ghc] wip/ttypeable: HACK: CoreLint: Kill unsaturated unlifted types check (89a68ea)

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


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

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

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

commit 89a68eafc1a6dd094c79d01c0e35ef1999581e0e
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sat Jan 30 19:53:05 2016 +0100

    HACK: CoreLint: Kill unsaturated unlifted types check


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

89a68eafc1a6dd094c79d01c0e35ef1999581e0e
 compiler/coreSyn/CoreLint.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/coreSyn/CoreLint.hs b/compiler/coreSyn/CoreLint.hs
index 73e93ea..1322400 100644
--- a/compiler/coreSyn/CoreLint.hs
+++ b/compiler/coreSyn/CoreLint.hs
@@ -1083,7 +1083,7 @@ lintType ty@(TyConApp tc tys)
   = lintType ty'   -- Expand type synonyms, so that we do not bogusly complain
                    --  about un-saturated type synonyms
 
-  | isUnliftedTyCon tc || isTypeSynonymTyCon tc || isTypeFamilyTyCon tc
+  | isTypeSynonymTyCon tc || isTypeFamilyTyCon tc
        -- Also type synonyms and type families
   , length tys < tyConArity tc
   = failWithL (hang (text "Un-saturated type application") 2 (ppr ty))



More information about the ghc-commits mailing list