#7489: Obscure warning: Var/Type length mismatch when using GADTs and 
TypeFamilies
-------------------------------------------------+--------------------------
  Reporter:  portnov                             |          Owner:              
    
      Type:  bug                                 |         Status:  closed      
    
  Priority:  normal                              |      Milestone:              
    
 Component:  Compiler                            |        Version:  7.6.1       
    
Resolution:  fixed                               |       Keywords:              
    
        Os:  Unknown/Multiple                    |   Architecture:  
Unknown/Multiple
   Failure:  Incorrect warning at compile-time   |     Difficulty:  Unknown     
    
  Testcase:  indexed_types/should_compile/T7489  |      Blockedby:              
    
  Blocking:                                      |        Related:              
    
-------------------------------------------------+--------------------------
Changes (by simonpj):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => fixed
  * testcase:  => indexed_types/should_compile/T7489


Comment:

 commit 3394d49af13697626145aca6d80b65ae8661418c
 {{{
 Author: Simon Peyton Jones <simo...@microsoft.com>
 Date:   Wed Dec 19 17:37:27 2012 +0000

     Pass the correct inst_tys argument to dataConCannotMatch, in
 mkRecSelBinds

     This fixes Trac #7503.

  compiler/typecheck/TcTyClsDecls.lhs |   16 ++++++++++------
  1 files changed, 10 insertions(+), 6 deletions(-)
 }}}
 The commit message is wrong... this is the patch that fixes #7489!

 Simon

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