#11316: Too many guards warning causes issues -------------------------------------+------------------------------------- Reporter: NeilMitchell | Owner: Type: bug | Status: patch Priority: high | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1737 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"77494fa9fa34c1a831caabc194e855167de0c2d9/ghc" 77494fa/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="77494fa9fa34c1a831caabc194e855167de0c2d9" Remove -Wtoo-many-guards from default flags (fixes #11316) Since #11316 indicates that having flag `-Wtoo-many-guards` enabled by default causes issues, the simplest thing is to remove it. This patch removes it from the default list, it updates the docs and removes the suppression flags for `T783` and `types/OptCoercion.hs` Test Plan: validate Reviewers: bgamari, austin, goldfire Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1737 GHC Trac Issues: #11316 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11316#comment:10> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler