Skip to content
  • Simon Peyton Jones's avatar
    Re-do (again) the handling of binders in Template Haskell · e3dcc0d5
    Simon Peyton Jones authored
    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.)
    e3dcc0d5