[cvs-nhc98] Bugfix for negative literal number patterns, where the ins

Malcolm Wallace malcolm@sparud.net
Mon, 20 May 2002 19:51:36 +0200 (CEST)


malcolm: Mon May 20 19:51:35 CEST 2002

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

Modified Files:
	FixSyntax.hs 
Log Message:
Bugfix for negative literal number patterns, where the instance of
Num to be used is at a user-defined type.  Must ensure that the Num
dictionary is passed through to the pattern-compilation phase (for
selection of Eq.==), rather than selecting the negate method from it
here and immediately discarding the dict.