[cvs-nhc98] patch applied (hat): Fix an obscure bug in the scoping rules for local where clauses.

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:25:13 EDT 2006


Thu Jun 12 03:10:40 PDT 2003  malcolm
  * 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.

    M ./src/compiler98/Rename.hs +2


More information about the Cvs-nhc98 mailing list