[GHC] #8846: GHC panic with Template Haskell

#8846: GHC panic with Template Haskell ----------------------------------+--------------------------------------- Reporter: Gothmog | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Keywords: | Operating System: Linux Architecture: x86_64 (amd64) | Type of failure: Compile-time crash Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ----------------------------------+--------------------------------------- I get a panic when compiling the attached files with "ghc --make test": ghc: panic! (the 'impossible' happened) (GHC version 7.6.3 for x86_64-unknown-linux): nameModule a{v a14p} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8846 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8846: GHC panic with Template Haskell ---------------------------------------+---------------------------------- Reporter: Gothmog | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Comment (by Gothmog): P.S.: As I see it, there is a type error as the return value of the splice should be Q [Dec] but is Q Exp. However, I figure GHC shouldn't panic anyway. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8846#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8846: GHC panic with Template Haskell ---------------------------------------+---------------------------------- Reporter: Gothmog | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: duplicate | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Changes (by goldfire): * status: new => closed * resolution: => duplicate Comment: This is fixed in the 7.8 release candidate (but I was able to reproduce for 7.6.3). Thanks for reporting! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8846#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC