Ensure that only zonked poly_ids are passed to tcSpecPrag
authorsimonpj@microsoft.com <unknown>
Mon, 18 Sep 2006 00:48:05 +0000 (00:48 +0000)
committersimonpj@microsoft.com <unknown>
Mon, 18 Sep 2006 00:48:05 +0000 (00:48 +0000)
This is a long-standing bug really (Trac #900).  The poly_id passed
to tcSpecPrag should be zonked, else it calls tcSubExp with a non-zonked
type; but that contradicts the latter's invariant.

I ended up doing a bit of refactoring too.  The extra lines are
comments I think; the code line count is reduced.

Test is tc212.hs


No differences found