diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-06-23 12:53:27 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-07-01 19:21:55 -0400 |
commit | f95edea9492ef30a07c7a6d11870fb5c3d0dd886 (patch) | |
tree | c048445b8a1d834d3b043568215a639705c2f497 /compiler/Language/Haskell/Syntax/Module | |
parent | eb0431489144effd6931c248801af3fe65227368 (diff) | |
download | haskell-f95edea9492ef30a07c7a6d11870fb5c3d0dd886.tar.gz |
desugar: Look through ticks when warning about possible literal overflow
Enabling `-fhpc` or `-finfo-table-map` would case a tick to end up
between the appliation of `neg` to its argument. This defeated the
special logic which looks for `NegApp ... (HsOverLit` to warn about
possible overflow if a user writes a negative literal (without out
NegativeLiterals) in their code.
Fixes #21701
Diffstat (limited to 'compiler/Language/Haskell/Syntax/Module')
0 files changed, 0 insertions, 0 deletions