[GHC] #11177: panic! tc_hs_type: record

#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

#11177: panic! tc_hs_type: record ---------------------------------+----------------------------- Reporter: apanagio | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Linux | Architecture: x86 Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+----------------------------- Changes (by simonpj): * cc: alanz (added) Comment: This looks like fallout from the 'refactor `ConDecl` patch. Alan? Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11177#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11177: panic! tc_hs_type: record ---------------------------------+----------------------------- Reporter: apanagio | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Linux | Architecture: x86 Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+----------------------------- Comment (by mpickering): It seems that the bug was reported for GHC 7.6.3? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11177#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11177: panic! tc_hs_type: record ---------------------------------+------------------------------ Reporter: apanagio | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: invalid | Keywords: Operating System: Linux | Architecture: x86 Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+------------------------------ Changes (by jstolarek): * status: new => closed * resolution: => invalid Comment: I checked and 7.8 and 7.10 reject this program with `Record syntax is illegal here: {}`. Closing as invalid (though it might be a duplicate of some bug that was reported in the past). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11177#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC