[GHC] #9039: Annotation reification from TH is not looking into HPT

GHC ghc-devs at haskell.org
Fri Apr 25 13:45:00 UTC 2014


#9039: Annotation reification from TH is not looking into HPT
-------------------------------------+-------------------------------------
       Reporter:  errge              |             Owner:
           Type:  bug                |            Status:  new
       Priority:  normal             |         Milestone:  7.8.3
      Component:  Template Haskell   |           Version:  7.8.2
       Keywords:                     |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple   |   Type of failure:  Incorrect result
     Difficulty:  Moderate (less     |  at runtime
  than a day)                        |         Test Case:  annth_make
     Blocked By:                     |  annth_compunits
Related Tickets:                     |          Blocking:
-------------------------------------+-------------------------------------
 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 :(

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9039>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list