[cvs-nhc98] cvs commit: nhc98/src/compiler98 Rename.hs
Malcolm Wallace
malcolm@glass.cse.ogi.edu
Thu, 12 Jun 2003 03:10:41 -0700
malcolm 2003/06/12 03:10:41 PDT
Modified files:
src/compiler98 Rename.hs
Log:
Fix an obscure bug in the scoping rules for local where clauses.
Previously, the following definition
f x = x where x = True
produced the error message
====== Errors when renaming:
Redefinition of Identifier x at 5:5
but apparently it is legal in H'98 to shadow pattern bindings in this way.
Revision Changes Path
1.29 +2 -0 nhc98/src/compiler98/Rename.hs