[commit: ghc] wip/spj-wildcard-refactor: Wibble (92a8987)

git at git.haskell.org git at git.haskell.org
Mon Oct 26 14:06:00 UTC 2015


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

On branch  : wip/spj-wildcard-refactor
Link       : http://ghc.haskell.org/trac/ghc/changeset/92a8987f17ab8fa7403c0a041430c0b1aabb02fe/ghc

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

commit 92a8987f17ab8fa7403c0a041430c0b1aabb02fe
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Oct 26 14:08:10 2015 +0000

    Wibble


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

92a8987f17ab8fa7403c0a041430c0b1aabb02fe
 compiler/typecheck/TcTyClsDecls.hs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/compiler/typecheck/TcTyClsDecls.hs b/compiler/typecheck/TcTyClsDecls.hs
index 676ddac..e09e894 100644
--- a/compiler/typecheck/TcTyClsDecls.hs
+++ b/compiler/typecheck/TcTyClsDecls.hs
@@ -835,7 +835,6 @@ tcDataDefn rec_info tc_name tvs kind
        ; is_boot         <- tcIsHsBootOrSig -- Are we compiling an hs-boot file?
 
              -- Check that we don't use kind signatures without Glasgow extensions
-       ; field_env <- getRecFieldEnv
        ; case mb_ksig of
            Nothing   -> return ()
            Just hs_k -> do { checkTc (kind_signatures) (badSigTyDecl tc_name)



More information about the ghc-commits mailing list