[project @ 2001-05-04 14:43:26 by simonpj]
authorsimonpj <unknown>
Fri, 4 May 2001 14:43:26 +0000 (14:43 +0000)
committersimonpj <unknown>
Fri, 4 May 2001 14:43:26 +0000 (14:43 +0000)
commitcb2d19815fed0daa19c56e4d12746756fe8966ac
tree62d194c8cd015e8dddf2efd4526289729ad5e5db
parentd68887047bcfb9021151f768fe1a22df2d3fbe1e
[project @ 2001-05-04 14:43:26 by simonpj]
**** MERGE WITH 5.00 BRANCH     ********

--------------------------------
Fix a black hole when type checking type decls
--------------------------------

GHC was falling into a black hole when type checking a recursive
group of type declarations including a chain of type synonyms.

  type PhraseFun = PMap -> Float
  type PMap      = () -> Player
  data Player    = P.MkT P.PhraseFun

Reason: too much consistency checking in TcMonoType.
Easily fixed using the existing wimp_out hack, but it's a mess.
This commit fixes it for the 5.00 branch but I'll do something
better in the head shortly.
ghc/compiler/typecheck/TcMonoType.lhs