[project @ 2002-03-25 15:08:38 by simonpj]
authorsimonpj <unknown>
Mon, 25 Mar 2002 15:08:39 +0000 (15:08 +0000)
committersimonpj <unknown>
Mon, 25 Mar 2002 15:08:39 +0000 (15:08 +0000)
commitaaed11810cfb0f8890376142740e731cdf84c001
tree0b5b3f611b2fe958122bef790c21b37e764382f7
parentd225c28bf10440e53850c29dd8e6f1c5e747b20d
[project @ 2002-03-25 15:08:38 by simonpj]
-------------------------------
Fix bugs in rank-N polymorphism
-------------------------------

Discussion with Mark showed up some bugs in the rank-N
polymorphism stuff, especally concerning the treatment of
'hole' type variables.

See especially TcMType:
newHoleTyVar
readHoleResult
zapToType

Also the treatment of conditionals and case branches
is done right now, using zapToType
ghc/compiler/typecheck/Inst.lhs
ghc/compiler/typecheck/TcBinds.lhs
ghc/compiler/typecheck/TcExpr.lhs
ghc/compiler/typecheck/TcMType.lhs
ghc/compiler/typecheck/TcMatches.lhs
ghc/compiler/typecheck/TcPat.lhs
ghc/compiler/typecheck/TcType.lhs
ghc/compiler/typecheck/TcUnify.lhs