#1220: Newtype deriving should only work if superclasses are newtype-derived
-------------------------------------+--------------------------------------
 Reporter:  simonpj                  |          Owner:            
     Type:  bug                      |         Status:  closed    
 Priority:  normal                   |      Milestone:  6.8 branch
Component:  Compiler (Type checker)  |        Version:  6.6       
 Severity:  normal                   |     Resolution:  invalid   
 Keywords:                           |     Difficulty:  Unknown   
 Testcase:                           |   Architecture:  Unknown   
       Os:  Unknown                  |  
-------------------------------------+--------------------------------------
Changes (by simonpj):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 No rejoinders, so closing this as 'invalid'.  But I'll add a pointer to
 this exchange to the source code, with `Note [Newtype deriving
 superclasses]` in `TcDeriv`.

 Simon

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