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

git at git.haskell.org git at git.haskell.org
Wed Apr 13 17:54:28 UTC 2016


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

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

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

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

    HACK: CoreLint: Kill unsaturated unlifted types check


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

a7c39f98af585ebe0119a147520006af1549c41e
 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 99625c9..2c401de 100644
--- a/compiler/coreSyn/CoreLint.hs
+++ b/compiler/coreSyn/CoreLint.hs
@@ -1040,7 +1040,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