[cvs-nhc98] Improve the error message for incorrect newtypes, e.g.

Malcolm Wallace malcolm@sparud.net
Mon, 6 Jan 2003 17:45:22 +0100 (CET)


malcolm: Mon Jan  6 17:45:22 CET 2003

Update of /usr/src/master/nhc/src/compiler98
In directory hinken:/tmp/cvs-serv22647

Modified Files:
	RenameLib.hs 
Log Message:
Improve the error message for incorrect newtypes, e.g.
    newtype N = N a b
 =>
    Invalid rhs of newtype N, a newtype can rename only one type.