Skip to content

Fix two bugs in TypeData TH reification

Ryan Scott requested to merge wip/T22818-T22819 into master

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 (closed).

  • type data type constructors are now reified in reifyTyCon using TypeDataD instead of DataD. Fixes #22819 (closed).

Merge request reports