Don't suggest -fno-monomorphism-restriction if it's already set
authorsimonpj@microsoft.com <unknown>
Wed, 6 Jun 2007 13:34:37 +0000 (13:34 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 6 Jun 2007 13:34:37 +0000 (13:34 +0000)
commitffe3d0b6812224376e156b1576b36e0b865765fe
treece5d4e184b28ee1d1c9450aa78f17e6f2370b9d0
parent3c4a732b0b011cf356eed1ecd4fdc4d5f1aab193
Don't suggest -fno-monomorphism-restriction if it's already set

This patch implements the suggestion in Trac #1398.  It's obviously
stupid to suggest -fno-monomorphism-restriction if the user is already
using it.

(Maybe another suggestion would be good, but this one clearly bogus.)
compiler/typecheck/TcSimplify.lhs