diff options
| author | Ian Lynagh <ian@well-typed.com> | 2013-07-31 18:43:11 +0100 |
|---|---|---|
| committer | Ian Lynagh <ian@well-typed.com> | 2013-07-31 19:42:50 +0100 |
| commit | ef739635a8c2646112d2a1fa4c8715704aff1f1f (patch) | |
| tree | 684650b2d0120de1eb8d50b94cdfface6ffd4d37 /compiler/codeGen | |
| parent | 4e7eb3a0e32080acada355eae657e4e27465bc7e (diff) | |
| download | haskell-ef739635a8c2646112d2a1fa4c8715704aff1f1f.tar.gz | |
Add NegativeLiterals extension
I'd been meaning to do this for some time, but finally got around to it
due to the overflowing literals warning. With that enabled, we were
getting a warning for
-128 :: Int8
as that is parsed as
negate (fromInteger 128)
which just happens to do the right thing, as
negate (fromInteger 128) = negate (-128) = -128
Diffstat (limited to 'compiler/codeGen')
0 files changed, 0 insertions, 0 deletions
