[GHC] #13363: Wildcarn patterns and COMPLETE sets can lead to misleading redundant pattern-match warnings
GHC
ghc-devs at haskell.org
Fri Mar 3 13:07:49 UTC 2017
#13363: Wildcarn patterns and COMPLETE sets can lead to misleading redundant
pattern-match warnings
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
| PatternSynonyms,
| PatternMatchWarnings
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect | Unknown/Multiple
error/warning at compile-time | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by gkaracha):
Yes, I guess you're right. This seems like the discussion we had on
Phab:D2669, but I thought you actually disabled the redundancy check when
`COMPLETE` pragmas are involved so that these discrepancies don't show up,
with the commit:
- Don't warn about redundancy when COMPLETE is involved
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13363#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list