diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-04-24 14:38:54 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-04-27 20:24:46 -0400 |
commit | 99823ed24b22447b14202ca57f75550773c44dbe (patch) | |
tree | 6dd2de048e4f245dd3d29b86ee47de7302f13652 /libraries/template-haskell/changelog.md | |
parent | 22bf5c738e0339fa12940414d6448896c6733808 (diff) | |
download | haskell-99823ed24b22447b14202ca57f75550773c44dbe.tar.gz |
TH: fix Show/Eq/Ord instances for Bytes (#16457)
We shouldn't compare pointer values but the actual bytes.
Diffstat (limited to 'libraries/template-haskell/changelog.md')
-rw-r--r-- | libraries/template-haskell/changelog.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/template-haskell/changelog.md b/libraries/template-haskell/changelog.md index 0b5fb2c10c..4a522837af 100644 --- a/libraries/template-haskell/changelog.md +++ b/libraries/template-haskell/changelog.md @@ -10,6 +10,12 @@ and `unTypeQ` are also generalised in terms of `Quote` rather than specific to `Q`. + * Fix Eq/Ord instances for `Bytes`: we were comparing pointers while we should + compare the actual bytes (#16457). + + * Fix Show instance for `Bytes`: we were showing the pointer value while we + want to show the contents (#16457). + ## 2.16.0.0 *TBA* * Add support for tuple sections. (#15843) The type signatures of `TupE` and |