[GHC] #595: Overhaul GHC's overlapping/non-exhaustive pattern
checking
GHC
trac at galois.com
Thu Dec 8 09:46:19 EST 2005
#595: Overhaul GHC's overlapping/non-exhaustive pattern checking
----------------------+-----------------------------------------------------
Reporter: simonmar | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: None
Severity: normal | Resolution: None
Keywords: |
----------------------+-----------------------------------------------------
Changes (by simonmar):
* component: None => Compiler
Old description:
> {{{
> GHC has a module in the desugarer (Check) which checks whether patterns
> are overlapping and/or exhaustive, to support the flags -fwarn-
> overlapping-patterns and -fwarn-non-exhaustive-patterns. The code is old
> and crufty, and has several outstanding bugs. A rewrite is needed.
> }}}
New description:
GHC has a module in the desugarer (Check) which checks whether patterns
are overlapping and/or exhaustive, to support the flags -fwarn-
overlapping-patterns and -fwarn-non-exhaustive-patterns. The code is old
and crufty, and has several outstanding bugs. A rewrite is needed.
--
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/595>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list