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

GHC cvs-ghc at haskell.org
Thu May 2 05:01:37 CEST 2013


#7878: Panic when using DerivingGeneric with hs-boot
-------------------------------+--------------------------------------------
Reporter:  ryant5000           |          Owner:                
    Type:  bug                 |         Status:  new           
Priority:  normal              |      Component:  Compiler      
 Version:  7.6.3               |       Keywords:                
      Os:  Linux               |   Architecture:  x86_64 (amd64)
 Failure:  Compile-time crash  |      Blockedby:                
Blocking:                      |        Related:                
-------------------------------+--------------------------------------------
 When a module that uses DerivingGeneric has an hs-boot file, a panic like
 the following results:

 ghc: panic! (the 'impossible' happened)
   (GHC version 7.6.3 for x86_64-unknown-linux):
         tcIfaceGlobal (local): not found:
     main:A.D1Test{tc apn}
     [(roo,ghc: panic! (the 'impossible' happened)
   (GHC version 7.6.3 for x86_64-unknown-linux):
         ghc: panic! (the 'impossible' happened)
   (GHC version 7.6.3 for x86_64-unknown-linux):
         tcIfaceGlobal (local): not found:

 The attached files demonstrate the issue.  To reproduce, run 'ghc --make
 C'.  Note that running the same command a second time will not cause the
 error, unless *.hi* files are deleted.

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



More information about the ghc-tickets mailing list