Skip to content
  • Simon Peyton Jones's avatar
    [project @ 2002-11-11 10:53:28 by simonpj] · 0adb7175
    Simon Peyton Jones authored
      	   Fix a newtype-deriving bug
    The new newtype-deriving mechanism was erroneously using the
    *representation type* of the newtype.  The rep type looks through all
    ihtermediate newtypes, so that is wrong.  See Note [newtype
    representation] in TcDeriv.lhs
    deriving/should_run/drvrun013 now tests for this.