[GHC] #14838: missing "incomplete-patterns" warning for TH-generated functions
GHC
ghc-devs at haskell.org
Fri Jan 11 15:14:23 UTC 2019
#14838: missing "incomplete-patterns" warning for TH-generated functions
-------------------------------------+-------------------------------------
Reporter: gelisam | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.10.1
Component: Template Haskell | Version: 8.2.2
Resolution: | Keywords:
| PatternMatchWarnings
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect | Unknown/Multiple
error/warning at compile-time | Test Case: T14838
Blocked By: | Blocking:
Related Tickets: #16169 | Differential Rev(s): Phab:D4440
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by mpickering):
* related: => #16169
Comment:
No idea why the original patch was reverted here but I still think close
as working as intended. You wouldn't want a warning if an imported library
function had an incomplete pattern so why is code generated by splices any
different?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14838#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list