Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : ghc-7.4
http://hackage.haskell.org/trac/ghc/changeset/961b2e55e73db37daecea305505241b7e242eb87 >--------------------------------------------------------------- commit 961b2e55e73db37daecea305505241b7e242eb87 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 MERGED from commit cb5a3f2d66e4dac2f6f44f56e365d18df884c943 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(-) Diff suppressed because of size. To see it, use: git show 961b2e55e73db37daecea305505241b7e242eb87 _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
