summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module/ModSummary.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2021-03-23 23:27:36 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-28 00:11:46 -0400
commitf6960b188f4e66bb1c7b00d55a015fdd418614a7 (patch)
treee4492c28f4110e9d36bbe89d2a87efc2c00e991a /compiler/GHC/Unit/Module/ModSummary.hs
parentf72d4ebbcc02be7921e03c529198605031224080 (diff)
downloadhaskell-f6960b188f4e66bb1c7b00d55a015fdd418614a7.tar.gz
Make RULES more robust in GHC.Float
The RULES that use hand-written specialised code for overloaded class methods like floor, ceiling, truncate etc were fragile to certain transformations. This patch makes them robust. See #19582. It's all described in Note [Rules for overloaded class methods]. No test case because currently we don't do the transformation (floating out over-saturated applications) that makes this patch have an effect. But we may so so in future, and this patch makes the RULES much more robust.
Diffstat (limited to 'compiler/GHC/Unit/Module/ModSummary.hs')
0 files changed, 0 insertions, 0 deletions