Fix 2030: make -XScopedTypeVariables imply -XRelaxedPolyRec
authorsimonpj@microsoft.com <unknown>
Thu, 10 Jan 2008 11:31:33 +0000 (11:31 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 10 Jan 2008 11:31:33 +0000 (11:31 +0000)
The type checker doesn't support lexically scoped type variables
unless we are using the RelaxedPolyRec option.  Reasons: see
Note [Scoped tyvars] in TcBinds.

So I've changed DynFlags to add this implication, improved the
documentation, and simplified the code in TcBinds somewhat.
(It's longer but only because of comments!)


No differences found