[cvs-nhc98] patch applied (hat): Corrected two bugs in new handling
of newtype data constructors and twiddle in patterns.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:13:50 EDT 2006
Thu Feb 21 03:45:24 PST 2002 olaf
* Corrected two bugs in new handling of newtype data constructors and twiddle in patterns.
DeclsScc can occur because of desugaring of record expressions.
Variations of the variable "irrefutableDummy" need to be created that don't clash with each other. First, the variable need to be qualified to avoid clashes between modules. Second, the source position is part of the name to avoid clashes within the Prelude. The later is only a hack; there may still be a clash but it hasn't been noticed yet.
M ./src/compiler98/DbgTrans.hs -11 +14
More information about the Cvs-nhc98
mailing list