diff options
author | Rupert Horlick <ruperthorlick@gmail.com> | 2017-03-06 13:43:34 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-03-06 17:23:01 -0500 |
commit | 3fdabe9873e311571f614d455d1b16bc3f4fdc0f (patch) | |
tree | 4ea10e682a014f677c86beb02d7e63dedcfb9540 /testsuite/tests/numeric | |
parent | 016b10c50e365ca62a9baffa1c590f4efa8db409 (diff) | |
download | haskell-3fdabe9873e311571f614d455d1b16bc3f4fdc0f.tar.gz |
Changed OverLit warnings to work with negative literals (#13257)
Test Plan: Validate, check generated warnings
Reviewers: austin, bgamari, dfeuer
Reviewed By: bgamari, dfeuer
Subscribers: dfeuer, thomie
Differential Revision: https://phabricator.haskell.org/D3281
Diffstat (limited to 'testsuite/tests/numeric')
-rw-r--r-- | testsuite/tests/numeric/should_compile/T8542.stderr | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/testsuite/tests/numeric/should_compile/T8542.stderr b/testsuite/tests/numeric/should_compile/T8542.stderr index f4143821f6..699ba5d573 100644 --- a/testsuite/tests/numeric/should_compile/T8542.stderr +++ b/testsuite/tests/numeric/should_compile/T8542.stderr @@ -1,8 +1,4 @@ -T8542.hs:6:6: warning: [-Woverflowed-literals (in -Wdefault)] - Literal 128 is out of the Int8 range -128..127 - If you are trying to write a large negative literal, use NegativeLiterals - T8542.hs:9:5: warning: [-Woverflowed-literals (in -Wdefault)] Literal 128 is out of the Int8 range -128..127 If you are trying to write a large negative literal, use NegativeLiterals |