Opened 6 years ago

Closed 6 years ago

#9039 closed bug (fixed)

Annotation reification from TH is not looking into HPT

Reported by: errge Owned by:
Priority: normal Milestone: 7.8.3
Component: Template Haskell Version: 7.8.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Incorrect result at runtime Test Case: annth_make annth_compunits
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The annotation reification code only looks into EPS and TCG while trying to find annotations. Unfortunately it forgets HPT, where the annotations for the currently compiling (via --make) package are.

The attached patch fixes this issue. Also, I added some test cases that I should have done a long time ago.

Sorry for the oversight :(

Attachments (2)

Change History (6)

comment:1 Changed 6 years ago by errge

Status: newpatch

comment:2 Changed 6 years ago by simonpj

Austin could you commit this please? And merge to the 7.8 branch, I guess.

Thanks Gergo!


comment:3 Changed 6 years ago by thoughtpolice

Status: patchmerge

comment:4 Changed 6 years ago by thoughtpolice

Resolution: fixed
Status: mergeclosed
Note: See TracTickets for help on using tickets.