diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2023-01-24 20:57:57 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-30 21:19:56 -0500 |
commit | 2f1450521b816a7d287b72deba14d59b6ccfbdbf (patch) | |
tree | de16ae0d22fe31fae4f6079dacc1caeaba9db930 /testsuite/tests/module/Mod102_AuxB.hs | |
parent | 20598ef6d9e26e2e0af9ac42a42e7be00d7cc4f3 (diff) | |
download | haskell-2f1450521b816a7d287b72deba14d59b6ccfbdbf.tar.gz |
Fix two bugs in TypeData TH reification
This patch fixes two issues in the way that `type data` declarations were
reified with Template Haskell:
* `type data` data constructors are now properly reified using `DataConI`.
This is accomplished with a special case in `reifyTyCon`. Fixes #22818.
* `type data` type constructors are now reified in `reifyTyCon` using
`TypeDataD` instead of `DataD`. Fixes #22819.
Diffstat (limited to 'testsuite/tests/module/Mod102_AuxB.hs')
0 files changed, 0 insertions, 0 deletions