#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 <simo...@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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to