
#15398: GADT deriving Ord generates inaccessible code in a pattern with constructor. -------------------------------------+------------------------------------- Reporter: philderbeast | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: deriving, | PatternMatchWarnings Operating System: MacOS X | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): I don't understand what `DynFlags` has to do with anything. `-Wno- inaccesible-code` already disables these warnings. I thought you were requesting that we //never// emit inaccessible code warnings for derived code (regardless of whether `-Winaccessible-code` is enabled or not). That's what I don't know how to do. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15398#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler