[project @ 2002-06-21 13:34:42 by simonpj]
authorsimonpj <unknown>
Fri, 21 Jun 2002 13:34:43 +0000 (13:34 +0000)
committersimonpj <unknown>
Fri, 21 Jun 2002 13:34:43 +0000 (13:34 +0000)
commite91b5dcbdd7217212110a4bebb6da365ade2d961
tree0e4693b6b6b075b9ce3cfc621004b3a7c900b18e
parentf2123a38b5c050a5ff7bc4ea147eb80950cbe16b
[project @ 2002-06-21 13:34:42 by simonpj]
---------------------------------------------
    Calculate the free vars of a type 'right'
---------------------------------------------

type C u a = u

Question: is 'a' free in 'C u a'?

I think the answer should be 'no'; see typecheck/should_compile/tc157.hs
for an example of why it matters.  This commit makes it so, and adds
comments to explain a dark corner in the zonking code.
ghc/compiler/typecheck/TcMType.lhs
ghc/compiler/types/Type.lhs