Fix conversion of HsRule to TH syntax
authorSimon Peyton Jones <simonpj@microsoft.com>
Thu, 18 Oct 2012 23:48:41 +0000 (00:48 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 18 Oct 2012 23:48:41 +0000 (00:48 +0100)
commit5e54d55738d2144ab99e7b483bc4d237c1657251
treec86e272b401d14a4a840d854e49cb39b28515036
parent8691041c8360aba98d3e1489b7804a5d83dcab70
Fix conversion of HsRule to TH syntax

We weren't doing the binders right, and were creating NameLs
rather than NameUs for the binders of the Rule.  That gave
very funny output for T7064.
compiler/deSugar/DsMeta.hs