[GHC] #11177: panic! tc_hs_type: record

GHC ghc-devs at haskell.org
Tue Dec 8 12:35:51 UTC 2015


#11177: panic!     tc_hs_type: record
--------------------------------+---------------------------------
           Reporter:  apanagio  |             Owner:
               Type:  bug       |            Status:  new
           Priority:  normal    |         Milestone:
          Component:  Compiler  |           Version:  7.6.3
           Keywords:            |  Operating System:  Linux
       Architecture:  x86       |   Type of failure:  None/Unknown
          Test Case:            |        Blocked By:
           Blocking:            |   Related Tickets:
Differential Rev(s):            |         Wiki Page:
--------------------------------+---------------------------------
 when trying to compile a file where "deriving" was missing from a data
 type got the message:

 ghc: panic! (the 'impossible' happened)
   (GHC version 7.6.3 for i386-unknown-linux):
         tc_hs_type: record

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 the source file is:
 {{{#!hs
 data Epafi = Epafi {
 } (Show)

 main :: IO ()
 main = do
   print "hello"
 }}}

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


More information about the ghc-tickets mailing list