[cvs-nhc98] patch applied (hat): Eliminate spurious warnings in
hat-trans.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:13:00 EDT 2006
Mon Feb 4 07:58:54 PST 2002 malcolm
* Eliminate spurious warnings in hat-trans.
* Previously, the IdentMap (that maps a constructor, field, or method
to its type or class) was only used on entities defined in this module.
This led to spurious warnings about some identifiers that were imported
and re-exported.
* Now, the IdentMap is always paired up with the AuxTree (mapping
from Identifier to AuxInfo) to form an 'Environment', so the
two are always carried together. Thus, getImports extends the
IdentMap as well as the AuxTree. Also, when relabeling the abstract
syntax tree, we now have correct information about the kind (Var,
Con, Field, Method) of each entity, rather than a poor approximation.
M ./src/compiler98/AuxFile.hs -104 +126
M ./src/compiler98/AuxFixity.hs -29 +29
M ./src/compiler98/AuxLabelAST.hs -49 +40
M ./src/hattrans/AuxFile.hs -104 +126
M ./src/hattrans/AuxFixity.hs -29 +29
M ./src/hattrans/AuxLabelAST.hs -49 +40
More information about the Cvs-nhc98
mailing list