#5126: Splicing a type into a signature decl within a decl quotation panics with
"mkUsageInfo: internal name? x2{v a2pX}"
---------------------------------+------------------------------------------
  Reporter:  FSalad              |          Owner:           
      Type:  bug                 |         Status:  closed   
  Priority:  normal              |      Milestone:           
 Component:  Template Haskell    |        Version:  7.0.3    
Resolution:  fixed               |       Keywords:  quotation
  Testcase:  th/T5126            |      Blockedby:           
Difficulty:                      |             Os:  Linux    
  Blocking:                      |   Architecture:  x86      
   Failure:  Compile-time crash  |  
---------------------------------+------------------------------------------
Changes (by simonpj):

  * status:  new => closed
  * testcase:  => th/T5126
  * resolution:  => fixed


Comment:

 Thanks!  Fixed by
 {{{
 commit 620410fed8ee6169ccdfd5d7f914433319b29ae8
 Author: Simon Peyton Jones <[email protected]>
 Date:   Wed Apr 20 17:15:38 2011 +0100

     Fix Trac #5126: generate correct usage info in TH declaration quotes

     In RnBinds.rnValBindsRHS I had
           (sig_dus `plusDU` bind_dus)
     when it should be
           (bind_dus `plusDU` sig_dus)

     So the fix is easy.

  compiler/rename/RnBinds.lhs |    5 ++++-
  1 files changed, 4 insertions(+), 1 deletions(-)
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to