[GHC] #13965: COMPLETE sets nerf redundant pattern-match warnings
GHC
ghc-devs at haskell.org
Mon Sep 10 12:48:17 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 RyanGlScott):
Replying to [comment:3 mpickering]:
> It's this way because removing a "redudant" match arising from a
`COMPLETE` pragma can change what a function does.
Really? What is an example of this?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13965#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list