#7064: TH: Pragmas refactoring (also adds RULES and 'SPECIALIZE instance' 
support)
[patch]
---------------------------------+------------------------------------------
  Reporter:  mikhail.vorozhtsov  |          Owner:                  
      Type:  bug                 |         Status:  closed          
  Priority:  normal              |      Milestone:  7.6.1           
 Component:  Template Haskell    |        Version:  7.5             
Resolution:  fixed               |       Keywords:                  
        Os:  Unknown/Multiple    |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown        |     Difficulty:  Unknown         
  Testcase:                      |      Blockedby:                  
  Blocking:                      |        Related:                  
---------------------------------+------------------------------------------

Comment(by simonpj):

 Actually we need this too
 {{{
 commit 5e54d55738d2144ab99e7b483bc4d237c1657251
 Author: Simon Peyton Jones <simo...@microsoft.com>
 Date:   Fri Oct 19 00:48:41 2012 +0100

     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 |  132
 ++++++++++++++++++++++----------------------
  1 files changed, 67 insertions(+), 65 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7064#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to