[GHC] #10180: Lint check: Empty alternatives imply bottoming scrutinee
GHC
ghc-devs at haskell.org
Mon Mar 23 19:34:23 UTC 2015
#10180: Lint check: Empty alternatives imply bottoming scrutinee
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner: nomeata
Type: task | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Joachim Breitner <mail@…>):
In [changeset:"a0678f1f0e62496c108491e1c80d5eef3936474a/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="a0678f1f0e62496c108491e1c80d5eef3936474a"
New Lint check: no alternatives implies bottoming expression
detected either by exprIsBottom or by an empty type.
This was suggested by SPJ and fixes #10180.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10180#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list