[commit: base] ghc-generics1: 40f1dc3500323e in ghc-generics1 fixed the cause of the panic (3ad8fff)

José Pedro Magalhães jpm at cs.uu.nl
Fri Jun 8 14:33:35 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : ghc-generics1

http://hackage.haskell.org/trac/ghc/changeset/3ad8fffb30c48ba6494d8628c77f8afc06ace6b8

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

commit 3ad8fffb30c48ba6494d8628c77f8afc06ace6b8
Author: Nicolas Frisby <nicolas.frisby at gmail.com>
Date:   Thu Jun 7 22:00:40 2012 -0500

    40f1dc3500323e in ghc-generics1 fixed the cause of the panic
    
    Signed-off-by: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>

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

 GHC/Generics.hs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/GHC/Generics.hs b/GHC/Generics.hs
index fd3b2f4..2ce018b 100644
--- a/GHC/Generics.hs
+++ b/GHC/Generics.hs
@@ -189,9 +189,8 @@ deriving instance Generic ((,,,,,) a b c d e f)
 deriving instance Generic ((,,,,,,) a b c d e f g)
 
 deriving instance Generic1 []
--- JPM: These two currently cause the compiler to panic!
---deriving instance Generic1 Maybe
---deriving instance Generic1 (Either a)
+deriving instance Generic1 Maybe
+deriving instance Generic1 (Either a)
 deriving instance Generic1 ((,) a)
 deriving instance Generic1 ((,,) a b)
 deriving instance Generic1 ((,,,) a b c)





More information about the Cvs-libraries mailing list