cvs commit: fptools/ghc/compiler/basicTypes OccName.lhs
fptools/ghc/compiler/prelude TysPrim.lhs
Simon Marlow
simonmar at haskell.org
Mon Feb 28 07:03:14 EST 2005
simonmar 2005/02/28 04:03:14 PST
Modified files:
ghc/compiler/basicTypes OccName.lhs
ghc/compiler/prelude TysPrim.lhs
Log:
The type variables in the types of wired-in entities were built using
mkVarOcc, which gives a variable name rather than a type variable
name. Normally the compiler doesn't care, but when tidying types for
output to the user the tidier would consider a VarName as distinct
from a TvName, and not give them different print names.
This fix makes puts all the type variables in the TvName namespace.
Revision Changes Path
1.61 +4 -1 fptools/ghc/compiler/basicTypes/OccName.lhs
1.50 +2 -2 fptools/ghc/compiler/prelude/TysPrim.lhs
More information about the Cvs-ghc
mailing list