#6005: Template Haskell disallows use of promoted data constructor in same 
splice
---------------------------------------+------------------------------------
 Reporter:  goldfire                   |          Owner:                     
     Type:  bug                        |         Status:  new                
 Priority:  normal                     |      Component:  Template Haskell   
  Version:  7.5                        |       Keywords:  DataKinds PolyKinds
       Os:  Unknown/Multiple           |   Architecture:  Unknown/Multiple   
  Failure:  GHC rejects valid program  |       Testcase:                     
Blockedby:                             |       Blocking:                     
  Related:                             |  
---------------------------------------+------------------------------------

Comment(by simonpj@…):

 commit 2a1190431218f838797be3c09084e22dc131c58a
 {{{
 Author: Simon Peyton Jones <simo...@microsoft.com>
 Date:   Wed Apr 25 12:55:41 2012 +0100

     Fix looking up of Exact RdrNames, fixes Trac #6005

     See Note [Splicing Exact names] in RnEnv.

  compiler/rename/RnEnv.lhs |   43
 ++++++++++++++++++++++++++++++++++---------
  1 files changed, 34 insertions(+), 9 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6005#comment:1>
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