#5959: GHC Panic: nameModule
-------------------------------+--------------------------------------------
Reporter: mightybyte | Owner: pcapriotti
Type: bug | Status: new
Priority: high | Milestone: 7.4.2
Component: Compiler | Version: 7.4.1
Keywords: | Os: Linux
Architecture: x86_64 (amd64) | Failure: Compile-time crash
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by simonpj@…):
commit cb5a3f2d66e4dac2f6f44f56e365d18df884c943
{{{
Author: Simon Peyton Jones <[email protected]>
Date: Wed Mar 28 09:57:57 2012 +0100
Make the LocalRdrEnv keep track of all the Names that are in scope
This allows us to give a sensible error message when a Template
Haskell
splice generates an occurrence without a binding site.
Fixes Trac #5959 and #5971
compiler/basicTypes/Name.lhs | 2 +-
compiler/basicTypes/RdrName.lhs | 36
+++++++++++++++++++++++++-----------
compiler/rename/RnEnv.lhs | 25 ++++++++++++++++++++++---
compiler/rename/RnNames.lhs | 6 +++---
compiler/rename/RnTypes.lhs | 2 +-
5 files changed, 52 insertions(+), 19 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5959#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs