summaryrefslogtreecommitdiff
path: root/compiler/rename/RnPat.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2016-06-23 08:50:45 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2016-06-23 09:24:29 +0100
commit643706e44935cd15c2248e5345dadd3e9804688e (patch)
tree2a1d3fb3abf8d5dec78b15bc8168049738edddb3 /compiler/rename/RnPat.hs
parente556f76875a28a97dd6618b8019bc11a1cc17b02 (diff)
downloadhaskell-643706e44935cd15c2248e5345dadd3e9804688e.tar.gz
Narrow the warning for simplifiable constraints
In Trac #11948 I added the warning -Wsimplifiable-class-constraints which warns if the class constraints in a type signature are simplifiable. But in fact the fragility it warns about only happens with NoMonoLocalBinds, so this patch switches off the warning if you have MonoLocalBinds (and suggests using it in the error message). See Note [Simplifiable given constraints] in TcValidity.
Diffstat (limited to 'compiler/rename/RnPat.hs')
0 files changed, 0 insertions, 0 deletions