[GHC] #8273: ghc: panic! (the 'impossible' happened)

#8273: ghc: panic! (the 'impossible' happened) -------------------------+------------------------------------------------- Reporter: | Owner: ready2go | Status: new Type: bug | Milestone: Priority: | Version: 7.4.1 normal | Operating System: Unknown/Multiple Component: | Type of failure: None/Unknown Compiler | Test Case: Prelude> data Shape = Keywords: | Circle Float Float Float | Rectangle Float Architecture: | Float Float Float deriving (show) x86_64 (amd64) | Blocking: Difficulty: | Unknown | Blocked By: | Related Tickets: | -------------------------+------------------------------------------------- Prelude> data Shape = Circle Float Float Float | Rectangle Float Float Float Float deriving (show) ghc: panic! (the 'impossible' happened) (GHC version 7.4.1 for x86_64-unknown-linux): nameModule show{tv a9J} Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug My Apologies if this is a duplicate, first time I have used trac, or this system- reproduced fault twice from fresh start of GHCi it twice on my Ubuntu 12.04 LTS system, using Haskell platform from Ubuntu repository -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8273 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8273: ghc: panic! (the 'impossible' happened) -------------------------------------------------+------------------------- Reporter: ready2go | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | x86_64 (amd64) Test Case: Prelude> data Shape = | Difficulty: Circle Float Float Float | Rectangle Float | Unknown Float Float Float deriving (show) | Blocked By: Blocking: | Related Tickets: -------------------------------------------------+------------------------- Comment (by ready2go): The problem is triggered by my typing 'show' with a lower-case 'S' by newbie mistake in 'deriving(Show)' -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8273#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8273: ghc: panic! (the 'impossible' happened) -------------------------------------------------+------------------------- Reporter: ready2go | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | x86_64 (amd64) Test Case: Prelude> data Shape = | Difficulty: Circle Float Float Float | Rectangle Float | Unknown Float Float Float deriving (show) | Blocked By: Blocking: | Related Tickets: -------------------------------------------------+------------------------- Description changed by jstolarek: Old description:
Prelude> data Shape = Circle Float Float Float | Rectangle Float Float Float Float deriving (show) ghc: panic! (the 'impossible' happened) (GHC version 7.4.1 for x86_64-unknown-linux): nameModule show{tv a9J}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
My Apologies if this is a duplicate, first time I have used trac, or this system- reproduced fault twice from fresh start of GHCi it twice on my Ubuntu 12.04 LTS system, using Haskell platform from Ubuntu repository
New description: {{{ Prelude> data Shape = Circle Float Float Float | Rectangle Float Float Float Float deriving (show) ghc: panic! (the 'impossible' happened) (GHC version 7.4.1 for x86_64-unknown-linux): nameModule show{tv a9J} Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} My Apologies if this is a duplicate, first time I have used trac, or this system- reproduced fault twice from fresh start of GHCi it twice on my Ubuntu 12.04 LTS system, using Haskell platform from Ubuntu repository -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8273#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8273: ghc: panic! (the 'impossible' happened) -------------------------------------+---------------------------------- Reporter: ready2go | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.4.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: #5961; #8163 -------------------------------------+---------------------------------- Changes (by jstolarek): * status: new => closed * testcase: Prelude> data Shape = Circle Float Float Float | Rectangle Float Float Float Float deriving (show) => * resolution: => duplicate * related: => #5961; #8163 Comment: This is already solved in HEAD. Thanks for reporting. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8273#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC