[GHC] #7541: Unavoidable duplicate constraint warning
GHC
cvs-ghc at haskell.org
Wed Jan 2 13:56:44 CET 2013
#7541: Unavoidable duplicate constraint warning
----------------------------------------------+-----------------------------
Reporter: blamario | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Incorrect warning at compile-time | Blockedby:
Blocking: | Related:
----------------------------------------------+-----------------------------
Comment(by simonpj@…):
commit 5a6a223f855538112ec9d089425e34853fb3542b
{{{
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Jan 2 11:57:00 2013 +0000
Add flag -fwarn-duplicate-constraints
This fixes Trac #7541, and is on by default.
Use -fno-warn-duplicate-constraints to switch it off.
compiler/main/DynFlags.hs | 5 ++++-
compiler/typecheck/TcMType.lhs | 9 +++++----
docs/users_guide/flags.xml | 7 +++++++
docs/users_guide/using.xml | 19 +++++++++++++++++++
4 files changed, 35 insertions(+), 5 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7541#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list