[GHC] #10929: Enumeration-empty warning not firing for `[Integer]`
GHC
ghc-devs at haskell.org
Sat Oct 3 18:44:53 UTC 2015
#10929: Enumeration-empty warning not firing for `[Integer]`
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: hvr
Type: bug | Status: patch
Priority: low | Milestone: 8.0.1
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| numeric/should_compile/T10929.hs
Blocked By: | Blocking:
Related Tickets: #7881 | Differential Rev(s): Phab:D1305
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"0eb8fcd94b29ee9997b386e64203037bdf2aaa04/ghc"
0eb8fcd9/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="0eb8fcd94b29ee9997b386e64203037bdf2aaa04"
Enable `Enumeration is empty` warnings for `Integer`
This warning was implemented via
abb3a9faa88fad3562ac41a148dd683765f47565 for addressing #7881. The
bounded H2010 integral types were handled, but the `Integer` type was
missed for the enumeration warning.
Fixes #10929
Test Plan: reused T7881 testcase
Reviewers: thomie, bgamari, austin
Reviewed By: thomie, bgamari, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1305
GHC Trac Issues: #10929
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10929#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list