[GHC] #13965: COMPLETE sets nerf redundant pattern-match warnings
GHC
ghc-devs at haskell.org
Mon Sep 10 13:02:48 UTC 2018
#13965: COMPLETE sets nerf redundant pattern-match warnings
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1-rc2
Resolution: | Keywords:
| PatternSynonyms,
| PatternMatchWarnings
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by mpickering):
{{{
data T = A | B
{-# COMPLETE A #-}
foo A = 5
foo B = 6
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13965#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list