diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-03-14 03:31:21 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-03-20 07:52:47 -0400 |
commit | 8e054ff3c79be5d33a00449bec5e7d4814ff2e54 (patch) | |
tree | 4e703c7b84d50469e0ef2e86f57101d5bf148276 /libraries/base/GHC/Exception | |
parent | 3fa3fb79e02858c29797a904655985628513cc01 (diff) | |
download | haskell-8e054ff3c79be5d33a00449bec5e7d4814ff2e54.tar.gz |
Fix literals for unregisterized backend of small types
All credit to @hsyl20, who in
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4717#note_338560
figured out this was a problem.
To fix this, we use casts in addition to the shrinking and suffixing
that is already done. It might make for more verbose code, I don't think
that matters too much.
In the future, perhaps some of the shrinking and suffixing can be
removed for being redundant. That proved less trivial than it sounds, so
this wasn't done at this time.
Progress towards #19026
Metric Increase:
T12707
T13379
Co-authored-by: Sylvain Henry <hsyl20@gmail.com>
Diffstat (limited to 'libraries/base/GHC/Exception')
0 files changed, 0 insertions, 0 deletions