[project @ 2003-07-28 12:04:27 by simonpj]
authorsimonpj <unknown>
Mon, 28 Jul 2003 12:04:27 +0000 (12:04 +0000)
committersimonpj <unknown>
Mon, 28 Jul 2003 12:04:27 +0000 (12:04 +0000)
--------------------------
  Fix an obscure but long-standing bug in Type.applyTys
   --------------------------

The interesting case, which previously killed GHC 6.0, is this
applyTys (forall a.a) [forall b.b, Int]
This really can happen, via dressing up polymorphic types with newtype
clothing.  Here's an example:
newtype R = R (forall a. a->a)
foo = case undefined :: R of

Test simplCore/should_compile/simpl0009 uses this as a test case.


No differences found