#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 Revisions:

Description

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 12 months ago by errge

  • Status changed from new to patch

comment:2 Changed 12 months ago by simonpj

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

Thanks Gergo!

Simon

comment:3 Changed 12 months ago by thoughtpolice

  • Status changed from patch to merge

comment:4 Changed 12 months ago by thoughtpolice

  • Resolution set to fixed
  • Status changed from merge to closed
Note: See TracTickets for help on using tickets.