Skip to content
  • Simon Peyton Jones's avatar
    [project @ 2005-11-16 17:45:38 by simonpj] · 491c85e7
    Simon Peyton Jones authored
    Better error reporting for newtypes with too many constructors,
    or too many fields.  Instead of yielding a parse error, we
    parse it like a data type declaration, and give a comprehensible
    error message later.
    
    A suggestion from Jan-Willem.
    491c85e7