[GHC] #1220: Newtype deriving should only work if superclasses are newtype-derived

GHC trac at galois.com
Mon Nov 12 10:39:21 EST 2007


#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


More information about the Glasgow-haskell-bugs mailing list