Corrected two bugs in new handling of newtype data constru

21 Feb
2002
21 Feb
'02
6:45 a.m.
olaf: Thu Feb 21 12:45:24 CET 2002 Update of /usr/src/master/nhc/src/compiler98 In directory hinken:/tmp/cvs-serv1199/src/compiler98 Modified Files: DbgTrans.hs Log Message: 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.
8489
Age (days ago)
8489
Last active (days ago)
0 comments
1 participants
participants (1)
-
olaf@sparud.net