[project @ 2005-02-28 12:03:12 by simonmar]
authorsimonmar <unknown>
Mon, 28 Feb 2005 12:03:12 +0000 (12:03 +0000)
committersimonmar <unknown>
Mon, 28 Feb 2005 12:03:12 +0000 (12:03 +0000)
commit09e2c3a13ed67e2ab69a8e0a3eaa608e19713521
tree3acb052cd52646e4477e069c509b21028c23e0bb
parent41b8c26ecd239f7cff41d92ea483dad91a1912d2
[project @ 2005-02-28 12:03:12 by simonmar]
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.
ghc/compiler/basicTypes/OccName.lhs
ghc/compiler/prelude/TysPrim.lhs