[cvs-nhc98] patch applied (hat): Fixed bug in handling of pattern
bindings.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:17:54 EDT 2006
Wed May 29 05:57:56 PDT 2002 olaf
* 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.
M ./src/compiler98/AuxLabelAST.hs -8 +18
M ./src/compiler98/TraceTrans.hs -1 +3
M ./src/hattrans/AuxLabelAST.hs -8 +18
M ./src/hattrans/TraceTrans.hs -1 +3
More information about the Cvs-nhc98
mailing list