Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e3dcc0d5a9f805518f004a9ef42b3405b013a083

>---------------------------------------------------------------

commit e3dcc0d5a9f805518f004a9ef42b3405b013a083
Author: Simon Peyton Jones <[email protected]>
Date:   Thu Jun 16 14:23:08 2011 +0100

    Re-do (again) the handling of binders in Template Haskell
    
    See the long Note [Binders in Template Haskell] in Convert.lhs
    which explains it all.  This patch fixes Trac #5037.
    
    The key change is that NameU binders (ones made up by newName in
    Template Haskell, and by TH quotations) now make Exact RdrNames again,
    rather than making RdrNames with heavily encoded OccNames like x[03cv].
    (This encoding is what was making #5037 fail.)

 compiler/hsSyn/Convert.lhs  |  100 +++++++++++++++++++++++++++++++------------
 compiler/iface/IfaceEnv.lhs |    2 +-
 compiler/rename/RnBinds.lhs |   10 +++-
 compiler/rename/RnEnv.lhs   |   35 +++++++++------
 compiler/rename/RnPat.lhs   |   15 ++++---
 5 files changed, 113 insertions(+), 49 deletions(-)


Diff suppressed because of size. To see it, use:

    git show e3dcc0d5a9f805518f004a9ef42b3405b013a083

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to