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