#7241: GHC-7.6.1 panics on template haskell code ---------------------------------+------------------------------------------ Reporter: akamaus | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.6.1 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Compile-time crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by simonpj):
* difficulty: => Unknown Comment: Thanks. You are defining the same precise name twice: {{{ data Foo_79 = Foo_79 }}} where `Foo_79` is the exact name. This is bad, because you are defining the same name twice. You probably intended `mkName` rather than `newName`. But GHC shouldn't crash, and I will fix that. Thanks. Simon -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7241#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs