
#10635: -fwarn-redundant-constraints should not be part of -Wall -------------------------------------+------------------------------------- Reporter: Lemming | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 7.11 checker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: #9939, #9973, | Differential Rev(s): #10100, #10183 | Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): I think it might be simpler just to say {{{ {-# NO_WARN_REDUNDANT_CONSTRAINTS singleton #-} }}} or something of that ilk. Or put it in the signature itself {{{ singleton :: {-# NO_WARN_REDUNDANT_CONSTRAINTS #-} Ord a => a -> Set a }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10635#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler