Dont tidy up tyvars after :print type reconstruction
authorPepe Iborra <mnislaih@gmail.com>
Thu, 26 Apr 2007 16:35:40 +0000 (16:35 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Thu, 26 Apr 2007 16:35:40 +0000 (16:35 +0000)
commitcdfe9b087902b321b56dd58df7d996a966947585
treea34b6e5fb9648482168b2df758301e8850439cdc
parentf1915bd7bdb2d228c595d64713365c1394bfbd13
Dont tidy up tyvars after :print type reconstruction

I introduced a bug yesterday when I changed the way tidying up was performed.
As a result of tidying,  cvObtainTerm could be returning types
with regular tyvars inside, which never should.

But actually, it's better if we do not do the tidying up, in order to
keep the tyvar names from the environment.
New names will be introduced only when an existential is found, which
is not so common. In this case the user will see a funny name.
Is that really an issue?
compiler/ghci/RtClosureInspect.hs