[cvs-nhc98] Fixed bug in handling of pattern bindings.

User olaf olaf@sparud.net
Wed, 29 May 2002 14:57:57 +0200 (CEST)


olaf: Wed May 29 14:57:56 CEST 2002

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

Modified Files:
	AuxLabelAST.hs TraceTrans.hs 
Log Message:
Fixed bug in handling of pattern bindings.

Pattern bindings with newtype data constructors where incorrectly transformed; AuxLabelAst already added bogus definitions for the variables within these data constructors, because it treated these variables to have only a local scope within the pattern definition.

Also added error message if hat-trans is applied to a program with (..) after a type or class in an export or import list.