[GHC] #7878: Panic when using DerivingGeneric with hs-boot

GHC cvs-ghc at haskell.org
Thu May 9 11:27:50 CEST 2013


#7878: Panic when using DerivingGeneric with hs-boot
-------------------------------+--------------------------------------------
    Reporter:  ryant5000       |       Owner:  dreixel           
        Type:  bug             |      Status:  patch             
    Priority:  normal          |   Milestone:                    
   Component:  Compiler        |     Version:  7.7               
    Keywords:                  |          Os:  Linux             
Architecture:  x86_64 (amd64)  |     Failure:  Compile-time crash
  Difficulty:  Unknown         |    Testcase:                    
   Blockedby:                  |    Blocking:                    
     Related:                  |  
-------------------------------+--------------------------------------------

Comment(by patrick@…):

 commit ad1bc9dcc67d7c0d51fa2c71e8188c79ce3ebb1e
 {{{
 Author: Patrick Palka <patrick at parcs.ath.cx>
 Date:   Sun May 5 22:41:27 2013 -0400

     Update the name cache when creating new names via DeriveGeneric

     New external top-level names were being created but the name cache
     wasn't being populated, leading to #7878.

     Signed-off-by: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>

  compiler/typecheck/TcGenGenerics.lhs |   32
 +++++++++++---------------------
  1 files changed, 11 insertions(+), 21 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7878#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list