Enable `Enumeration is empty` warnings for `Integer`
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 3 Oct 2015 18:05:11 +0000 (20:05 +0200)
committerBen Gamari <ben@smart-cactus.org>
Sat, 3 Oct 2015 18:05:13 +0000 (20:05 +0200)
commit0eb8fcd94b29ee9997b386e64203037bdf2aaa04
tree401c2c970dbecc8bc1bba52ae186e438712feca0
parent6cde981a8788b225819be28659caddc35b77972d
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
compiler/deSugar/MatchLit.hs
testsuite/tests/numeric/should_compile/T10929.hs [new file with mode: 0644]
testsuite/tests/numeric/should_compile/T10929.stderr [new file with mode: 0644]
testsuite/tests/numeric/should_compile/all.T