summaryrefslogtreecommitdiff
path: root/compiler/Language/Haskell/Syntax/Module
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-06-23 12:53:27 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-07-01 19:21:55 -0400
commitf95edea9492ef30a07c7a6d11870fb5c3d0dd886 (patch)
treec048445b8a1d834d3b043568215a639705c2f497 /compiler/Language/Haskell/Syntax/Module
parenteb0431489144effd6931c248801af3fe65227368 (diff)
downloadhaskell-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