[project @ 1998-02-12 14:10:58 by simonm]
authorsimonm <unknown>
Thu, 12 Feb 1998 14:10:58 +0000 (14:10 +0000)
committersimonm <unknown>
Thu, 12 Feb 1998 14:10:58 +0000 (14:10 +0000)
commit3d88a73157a15627dcc2385148d9af66a80157ac
treeba161f2d55b5135bcbf887b82f4c9ebe300d6112
parent9b754e79392bfc63b07bdf7b6c8e044c4506a4b5
[project @ 1998-02-12 14:10:58 by simonm]
Make it an error for a newtype constructor field to be unboxed (this
would undoubtedly cause problems later on, better to catch it early).

While I'm here, report the context properly for newtype declarations,
it was previously being reported as a 'data' declaration.
ghc/compiler/typecheck/TcTyDecls.lhs