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

Comment(by simonpj@…):

 commit d50cb3eda3912df0d75a8177f04783689b21dc9b
 {{{
 Author: Simon Peyton Jones <[email protected]>
 Date:   Thu Apr 26 13:47:54 2012 +0100

     Do not generate derived instances in TH brackets

     See Note [Deriving inside TH brackets] in TcInstDcls
     Fixes Trac #6005 (again)

  compiler/typecheck/TcInstDcls.lhs |   23 ++++++++++++++++++++++-
  1 files changed, 22 insertions(+), 1 deletions(-)
 }}}

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