Skip to content
  • Simon Peyton Jones's avatar
    [project @ 2006-01-05 10:02:58 by simonpj] · 82e428eb
    Simon Peyton Jones authored
    'newtype' declarations are now parsed exactly like data type declarations,
    so that you can declare newtypes using GADT syntax.  But that means we
    must check all the newtype restrictions separately, and I mised one.
    This commit checks that there is no existential context on the newtype.
    
    Test is tcfail156
    82e428eb